The ISNULL() function returns a specified value if the expression is NULL. If the expression is NOT NULL, this function returns the expression.
How do I use Isnull condition in SQL?
- expression is an expression of any type that is checked for NULL .
- replacement is the value to be returned if the expression is NULL . The replacement must be convertible to a value of the type of the expression .
IS null check in SQL Server?
The IS NULL condition is used in SQL to test for a NULL value. It returns TRUE if a NULL value is found, otherwise it returns FALSE. It can be used in a SELECT, INSERT, UPDATE, or DELETE statement.