Click here to Skip to main content
15,900,725 members
Home / Discussions / Database
   

Database

 
QuestionProblem accessing a SSIS Package Pin
mysorian14-Jul-06 6:04
professionalmysorian14-Jul-06 6:04 
AnswerRe: Problem accessing a SSIS Package Pin
mysorian14-Jul-06 7:54
professionalmysorian14-Jul-06 7:54 
AnswerRe: Problem accessing a SSIS Package Pin
Dave Kreskowiak14-Jul-06 9:30
mveDave Kreskowiak14-Jul-06 9:30 
GeneralRe: Problem accessing a SSIS Package Pin
mysorian15-Jul-06 4:39
professionalmysorian15-Jul-06 4:39 
QuestionDifferance between '@variable' and '@@variable' in SQL Pin
Sampath Eleperuma14-Jul-06 4:09
professionalSampath Eleperuma14-Jul-06 4:09 
AnswerRe: Differance between '@variable' and '@@variable' in SQL Pin
Eric Dahlvang14-Jul-06 5:12
Eric Dahlvang14-Jul-06 5:12 
Questionnumeric data type value Pin
For_IT14-Jul-06 0:06
For_IT14-Jul-06 0:06 
AnswerRe: numeric data type value Pin
Mike Dimmick14-Jul-06 0:27
Mike Dimmick14-Jul-06 0:27 
That will be your dates. Best practice is to use ISO format dates, yyyymmdd, as these are not sensitive to the selected locale, so you would write your statement as:
INSERT INTO [dbo].[cp_vat]
    ([vat_text],[vat_percentage],[vat_valid_from],[vat_valid_to])
values
    ('test',10.2,'20050505','20070505')
Note that date literals are entered as strings, not numbers - if you pass a number, it will be treated as the binary representation and you'll get the wrong answer.

If you're passing these dates in from application code, you should use parameterised queries and the appropriate Parameters collection.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: numeric data type value Pin
For_IT14-Jul-06 0:55
For_IT14-Jul-06 0:55 
GeneralRe: numeric data type value Pin
Mairaaj Khan14-Jul-06 2:02
professionalMairaaj Khan14-Jul-06 2:02 
GeneralRe: numeric data type value Pin
For_IT14-Jul-06 3:11
For_IT14-Jul-06 3:11 
AnswerRe: numeric data type value Pin
Heinz_15-Jul-06 14:27
Heinz_15-Jul-06 14:27 
Questionwhere not exists problem! Pin
richiemac13-Jul-06 23:19
richiemac13-Jul-06 23:19 
AnswerRe: where not exists problem! Pin
Mike Dimmick14-Jul-06 0:23
Mike Dimmick14-Jul-06 0:23 
AnswerRe: where not exists problem! Pin
Eric Dahlvang14-Jul-06 3:21
Eric Dahlvang14-Jul-06 3:21 
AnswerThanks for the help guys Pin
richiemac14-Jul-06 3:35
richiemac14-Jul-06 3:35 
GeneralRe: Thanks for the help guys Pin
Eric Dahlvang14-Jul-06 5:50
Eric Dahlvang14-Jul-06 5:50 
AnswerRe: where not exists problem! Pin
Eric Dahlvang14-Jul-06 7:23
Eric Dahlvang14-Jul-06 7:23 
GeneralRe: where not exists problem! Pin
richiemac16-Jul-06 22:18
richiemac16-Jul-06 22:18 
Questionmaintaining the data type Pin
Jerry Hammond13-Jul-06 20:20
Jerry Hammond13-Jul-06 20:20 
AnswerRe: maintaining the data type Pin
Mike Dimmick14-Jul-06 0:24
Mike Dimmick14-Jul-06 0:24 
GeneralRe: maintaining the data type Pin
Jerry Hammond14-Jul-06 5:24
Jerry Hammond14-Jul-06 5:24 
QuestionMatch Case Comparision Pin
sumit siddheshwar13-Jul-06 18:23
sumit siddheshwar13-Jul-06 18:23 
AnswerRe: Match Case Comparision Pin
Edbert P13-Jul-06 19:26
Edbert P13-Jul-06 19:26 
GeneralRe: Match Case Comparision Pin
sumit siddheshwar13-Jul-06 20:07
sumit siddheshwar13-Jul-06 20:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.