Yes, After changing default ansi_null setting null can evaluate with null. Check the below code for reference.select 1 where null = nullgo
set ansi_nulls offgoselect 1 where null = nullgo
the result of null = null is not true but unknown. null is not equal ( = ) to anything—not even to another null