ISNULL

Description

Replaces NULL with the specified replacement value. (ISNULL in Transact-SQL).

Sample Source Pattern

Syntax

ISNULL ( check_expression , replacement_value )  

Examples

Code:

IN -> SqlServer_01.sql
SELECT ISNULL(NULL, 'SNOWFLAKE') AS COMPANYNAME;

Result:

+-----------+
|COMPANYNAME|
+-----------+
|SNOWFLAKE  |
+-----------+

Last updated