what does NULLIF() do ? how is it different from ISNULL()?
NULLIF( ) : Returns a null value if the two expressions specified in the function are equal.
The syntax used is
NULLIF ( expression1 ,expression2 )
If expression1 = expression2, then the function will return NULL.
ISNULL( ): The function replaces a null expressions with a specified value.
The syntax used is