Click here to Skip to main content
15,902,777 members
Home / Discussions / Database
   

Database

 
GeneralRe: create & update account numbersfor existing records Pin
Jassim Rahma31-Dec-09 2:01
Jassim Rahma31-Dec-09 2:01 
QuestionIntegrate sql server's Query Editor Window with C# Project Pin
Dot-Net-Dev29-Dec-09 22:26
Dot-Net-Dev29-Dec-09 22:26 
QuestionHow to access a password protected MS Access database Pin
pc_dev29-Dec-09 1:05
pc_dev29-Dec-09 1:05 
AnswerRe: How to access a password protected MS Access database Pin
Eddy Vluggen29-Dec-09 1:53
professionalEddy Vluggen29-Dec-09 1:53 
GeneralRe: How to access a password protected MS Access database Pin
pc_dev30-Dec-09 6:46
pc_dev30-Dec-09 6:46 
QuestionTSQL DATETIME Pin
cdpace28-Dec-09 21:58
cdpace28-Dec-09 21:58 
AnswerRe: TSQL DATETIME Pin
Eddy Vluggen28-Dec-09 23:05
professionalEddy Vluggen28-Dec-09 23:05 
AnswerRe: TSQL DATETIME PinPopular
WoutL29-Dec-09 0:21
WoutL29-Dec-09 0:21 
The default format of a date in sql = MM/dd/yyyy, so 30/12/2009 is indeed an invalid date.

So there are three ways to solve this:

  • Use set DateFormat dmy
  • use set @EndDate = '12/30/2009'
  • use set @EndDate = '20091230'


The first option will allow you to use your own way of using dates.
In the second option you use the current settings of the server. You cannot always be sure of this setting, so I wouldn't use this.
The third option is using the ISO format for dates. I prefer this method because it is language independent.

Wout Louwers

GeneralRe: TSQL DATETIME Pin
cdpace29-Dec-09 3:16
cdpace29-Dec-09 3:16 
QuestionInteresting question about a MIN function and usage Pin
James Shao28-Dec-09 15:10
James Shao28-Dec-09 15:10 
AnswerRe: Interesting question about a MIN function and usage Pin
Luc Pattyn28-Dec-09 15:37
sitebuilderLuc Pattyn28-Dec-09 15:37 
GeneralRe: Interesting question about a MIN function and usage [modified] Pin
James Shao28-Dec-09 21:51
James Shao28-Dec-09 21:51 
GeneralRe: Interesting question about a MIN function and usage Pin
Luc Pattyn29-Dec-09 0:57
sitebuilderLuc Pattyn29-Dec-09 0:57 
GeneralRe: Interesting question about a MIN function and usage Pin
James Shao29-Dec-09 4:24
James Shao29-Dec-09 4:24 
AnswerRe: Interesting question about a MIN function and usage [modified] Pin
Corporal Agarn29-Dec-09 4:30
professionalCorporal Agarn29-Dec-09 4:30 
GeneralRe: Interesting question about a MIN function and usage Pin
James Shao30-Dec-09 12:47
James Shao30-Dec-09 12:47 
GeneralRe: Interesting question about a MIN function and usage Pin
Corporal Agarn31-Dec-09 1:05
professionalCorporal Agarn31-Dec-09 1:05 
QuestionProblem with the french character with sql server 2005 Pin
pranavcool27-Dec-09 18:44
pranavcool27-Dec-09 18:44 
AnswerRe: Problem with the french character with sql server 2005 Pin
Luc Pattyn28-Dec-09 1:33
sitebuilderLuc Pattyn28-Dec-09 1:33 
GeneralRe: Problem with the french character with sql server 2005 Pin
Eddy Vluggen28-Dec-09 2:24
professionalEddy Vluggen28-Dec-09 2:24 
GeneralRe: Problem with the french character with sql server 2005 Pin
Luc Pattyn28-Dec-09 2:33
sitebuilderLuc Pattyn28-Dec-09 2:33 
GeneralRe: Problem with the french character with sql server 2005 Pin
Eddy Vluggen28-Dec-09 2:52
professionalEddy Vluggen28-Dec-09 2:52 
GeneralRe: Problem with the french character with sql server 2005 Pin
Luc Pattyn28-Dec-09 3:09
sitebuilderLuc Pattyn28-Dec-09 3:09 
GeneralRe: Problem with the french character with sql server 2005 Pin
Eddy Vluggen28-Dec-09 6:34
professionalEddy Vluggen28-Dec-09 6:34 
AnswerRe: Problem with the french character with sql server 2005 [modified] Pin
Eddy Vluggen28-Dec-09 2:19
professionalEddy Vluggen28-Dec-09 2:19 

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.