Monday, July 4, 2011

SQL Server : Null values do not match other null values.

http://msdn.microsoft.com/en-us/library/aa258291(v=sql.80).aspx



Note that NULL = NULL is NOT TRUE Also NULL <> NULL is NOT TRUE


INNER JOIN DOES NOT CONTAI N NULL VALUES IN OUTPUT


if ( NULL = NULL ) print 'yes' else
 print 'no'

output
-----------
no

 if ( NULL <> NULL ) print 'yes' else
print 'no'


output
-----------
no

No comments:

Post a Comment

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...