Skip to content

Instantly share code, notes, and snippets.

@MajidSafari
Created March 15, 2015 05:32
Show Gist options
  • Save MajidSafari/4aa5d9d16ea518afa2f2 to your computer and use it in GitHub Desktop.
Save MajidSafari/4aa5d9d16ea518afa2f2 to your computer and use it in GitHub Desktop.
null = null Sql
set ansi_nulls off
if null = null
print 'true'
else
print 'false'
if null IS null
print 'true'
else
print 'false'
set ansi_nulls ON
if null = null
print 'true'
else
print 'false'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment