Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 'is null' the same as '= null'

Author  Topic 

ranvir_2k
Posting Yak Master

180 Posts

Posted - 2013-10-16 : 12:12:28
I have a query that has where clause that uses the statement 'is null'

is replacing this with '= null' the same thing?

Lamprey
Master Smack Fu Yak Hacker

4614 Posts

Posted - 2013-10-16 : 12:32:12
It depends on your ANSI_NULL settings but, by default, No.

http://technet.microsoft.com/en-us/library/aa196339(v=sql.80).aspx
Go to Top of Page
   

- Advertisement -