Collection Contents Previous Next PDF

ASA SQL Reference

SQL Functions

Alphabetical list of functions

ISNULL function [Data type conversion]


Function 

Returns the first non-NULL expression in the parameter list.

Syntax 

ISNULL ( expressionexpression [ , ... ] )

Parameters 

expression    An expression to be tested against NULL.

At least two expressions must be passed into the function.

Standards and compatibility 
See also 
Example 

The following statement returns the value –66.

SELECT ISNULL( NULL ,-66, 55, 45, NULL, 16 )

Collection Contents Previous Next PDF