Click here to Skip to main content
15,903,175 members
Home / Discussions / Database
   

Database

 
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 
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 
QuestionHelp me understand this unusual query... [modified] Pin
Rafferty Uy27-Dec-09 15:44
Rafferty Uy27-Dec-09 15:44 
AnswerRe: Help me understand this unusual query... Pin
Luc Pattyn28-Dec-09 1:46
sitebuilderLuc Pattyn28-Dec-09 1:46 
Hi,

the first query selects all rows where tblField1 holds a string with a first character equal to a space.

the other two require the entire tblField1 to equal something that probably gets trimmed down to an empty string, hence returning all rows with that field empty. That obviously is quite a different query.

IMO the more elegant query would use
...WHERE tblField1 LIKE ' %'

using a single space and the wildcard character %.

Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

Merry Christmas and a Happy New Year to all.


QuestionRe: Help me understand this unusual query... Pin
Rafferty Uy28-Dec-09 15:36
Rafferty Uy28-Dec-09 15:36 
AnswerRe: Help me understand this unusual query... Pin
Luc Pattyn28-Dec-09 15:41
sitebuilderLuc Pattyn28-Dec-09 15:41 
QuestionRe: Help me understand this unusual query... Pin
Rafferty Uy28-Dec-09 15:46
Rafferty Uy28-Dec-09 15:46 

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.