FANDOM


A scalar function in SQL, taking two expressions as arguments. Null-If returns NULL If its arguments are equal, and the value of its first argument otherwise.

Note: The first expression should not/must not evaluate to NULL itself.