Click here to Skip to main content
15,893,668 members
Home / Discussions / Database
   

Database

 
AnswerRe: Like Query & Null Values Pin
turbochimp16-Sep-05 17:39
turbochimp16-Sep-05 17:39 
GeneralRe: Like Query & Null Values Pin
rich_wenger17-Sep-05 1:18
rich_wenger17-Sep-05 1:18 
GeneralRe: Like Query & Null Values Pin
rich_wenger17-Sep-05 3:21
rich_wenger17-Sep-05 3:21 
GeneralRe: Like Query & Null Values Pin
turbochimp17-Sep-05 5:56
turbochimp17-Sep-05 5:56 
GeneralRe: Like Query & Null Values Pin
turbochimp17-Sep-05 5:36
turbochimp17-Sep-05 5:36 
GeneralRe: Like Query & Null Values Pin
rich_wenger18-Sep-05 14:49
rich_wenger18-Sep-05 14:49 
GeneralRe: Like Query & Null Values Pin
turbochimp18-Sep-05 18:06
turbochimp18-Sep-05 18:06 
AnswerRe: Like Query & Null Values Pin
Mike Dimmick17-Sep-05 10:43
Mike Dimmick17-Sep-05 10:43 
The option CONCAT_NULL_YIELDS_NULL controls what happens when you concatenate a NULL with a string. As the name suggests, when you concatenate a NULL with a string and this option is set, the result is NULL.

This option is not set by default in the database, but is set by the ODBC driver and OLE DB provider. I'm guessing it's also set by the ADO.NET provider, although I can't find documentation on this.

So, when you get a NULL in the docMName column, the result of the concatenation is NULL, hence it doesn't match the query. The change you found on the other forum works because it changes a NULL to an empty string with the ISNULL function.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: Like Query & Null Values Pin
rich_wenger18-Sep-05 14:53
rich_wenger18-Sep-05 14:53 
Questionuse mySQL with c# applications Pin
Sasuko16-Sep-05 0:55
Sasuko16-Sep-05 0:55 
AnswerRe: use mySQL with c# applications Pin
enjoycrack16-Sep-05 1:32
enjoycrack16-Sep-05 1:32 
GeneralRe: use mySQL with c# applications Pin
Sasuko16-Sep-05 4:05
Sasuko16-Sep-05 4:05 
AnswerRe: use mySQL with c# applications Pin
André Ziegler17-Sep-05 11:55
André Ziegler17-Sep-05 11:55 
GeneralRe: use mySQL with c# applications Pin
Sasuko17-Sep-05 23:20
Sasuko17-Sep-05 23:20 
GeneralRe: use mySQL with c# applications Pin
André Ziegler18-Sep-05 1:14
André Ziegler18-Sep-05 1:14 
QuestionConsolidation of database Pin
utsav_verma15-Sep-05 23:07
utsav_verma15-Sep-05 23:07 
AnswerRe: Consolidation of database Pin
Hesham Amin16-Sep-05 2:49
Hesham Amin16-Sep-05 2:49 
QuestionMSDE not connecting in windows 98 Pin
Nilesh Gambhava15-Sep-05 21:28
Nilesh Gambhava15-Sep-05 21:28 
QuestionMSDE client tools Pin
Ahsan Askare15-Sep-05 18:48
Ahsan Askare15-Sep-05 18:48 
AnswerRe: MSDE client tools Pin
enjoycrack15-Sep-05 22:46
enjoycrack15-Sep-05 22:46 
AnswerRe: MSDE client tools Pin
Michael P Butler16-Sep-05 1:54
Michael P Butler16-Sep-05 1:54 
QuestionFastest way to copy table in SQLServer 2000 Pin
mikker_12315-Sep-05 15:46
mikker_12315-Sep-05 15:46 
AnswerRe: Fastest way to copy table in SQLServer 2000 Pin
Alomgir Miah15-Sep-05 17:24
Alomgir Miah15-Sep-05 17:24 
AnswerRe: Fastest way to copy table in SQLServer 2000 Pin
Andy Brummer15-Sep-05 17:26
sitebuilderAndy Brummer15-Sep-05 17:26 
QuestionIs there any one to HELP ME!! Pin
mostafa_h15-Sep-05 8:06
mostafa_h15-Sep-05 8:06 

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.