dbTalk Databases Forums  

Nulls and two single quotes

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Nulls and two single quotes in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Lee
 
Posts: n/a

Default Nulls and two single quotes - 08-25-2011 , 11:30 AM






Hi,

does SQL Server see two single quotes as a null?

Thanks

Lee

Reply With Quote
  #2  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Nulls and two single quotes - 08-25-2011 , 12:29 PM






Lee wrote:
Quote:
Hi,

does SQL Server see two single quotes as a null?

Thanks

Lee
No, two quotes denote an empty string, which is a known value. A NULL is, by
definition, an unknown value.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.