View Single Post

   
  #2 (permalink)  
Old 02-29-2008, 08:27 AM
David Portas
 
Posts: n/a
Default Re: Basic Syntax explanation

In SQL, NULL represents a missing/unknown value. The basic comparison
operators like =, <>, <, >, IN, etc return an UNKNOWN result when NULLs are
compared. IS NULL / IS NOT NULL are special types of comparison for
verifying the presence or absence of NULLs.

Read about NULLs and three-value logic in Books Online:
http://msdn.microsoft.com/libr*ary/e...d_02_8p*wy.asp

--
David Portas
SQL Server MVP
--


Reply With Quote