Does SQL Server have an operator equivalent to the Ansi SQL operators : IS DISTINCT FROM / IS NOT DISTINCT FROM ?
I know I can replace :
value1 is not distinct from value2
with :
(value1 = value2) or (value1 is null and value2 is null)
or :
coalesce(value1, -1) = coalesce(value2, -1)
But these options will prevent the engine to use an index, so does SQL Server have an specific operator to check this comparison ?.
Thank you.