Thursday, May 13, 2010

Check Column value is null

Returns the same type as the first expression.

NULLIF returns the first expression if the two expressions are not equal. If the expressions are equal, NULLIF returns a null value of the type of the first expression.

Using NullIF(ColName,Expretion)

No comments:

Post a Comment