what is NULLIF ,ISNULLJBjayachandra b10yAsked Dec 5, 2015, 9:53 AM823Hi...... what is NULLIF and ISNULL?
Ravi Patel10y agoPosted Dec 5, 2015, 10:01 AMHi, NULLIF:NULLIF( expression , expression)It returns a null value if both the expression is equal. NULLIF returns the first expression if both the expression is not equal. ISNULL:ISNULL ( expression , replacement)Replaces NULL with the specified replacement value. It returns the value of expression if it is not null. for more details http://blog.sqlauthority.com/2007/06/22/sql-server-explanation-and-comparison-of-nullif-and-isnull/
Ravi PatelPosted Dec 5, 2015, 10:01 AM