Null logic
Oct. 19th, 2012 10:10 amOk, Microsoft, what the fuck is that?
If your code compares two NULL values or a NULL value with any other value, your code will return an unknown result.
No, it's not "unknown", it is pretty much very well known and depends on ANSI_NULLS setting. Both cases above return false if ANSI_NULLS is on.
If your code compares two NULL values or a NULL value with any other value, your code will return an unknown result.
No, it's not "unknown", it is pretty much very well known and depends on ANSI_NULLS setting. Both cases above return false if ANSI_NULLS is on.