I have a table called NUMS with a single column n. And I fill values 1,2,3,4,5,null in it.
Now a query
SELECT n FROM Nums WHERE n IN (1, 2,
If an IN list contains a NULL value anywhere, the result of the entire list is UNKNOWN
IN
NULL
UNKNOWN
With the correct default of ANSI NULLS, when you compare NULL with NULL the result is not true, but UNKNOWN