In SQL server if you have nullParam=NULL in a where clause, it always evaluates to false. This is counterintuitive and has caused me many errors. I do understa
nullParam=NULL
Maybe it depends, but I thought NULL=NULL evaluates to NULL like most operations with NULL as an operand.
NULL=NULL
NULL