ASA SQL Reference
SQL Functions
Alphabetical list of functions
Returns the first non-NULL expression from a list.
COALESCE ( expression, expression [ , ...] )
expression Any expression.
SQL/92 SQL/92.
SQL/99 Core feature.
Sybase Compatible with Adaptive Server Enterprise.
The following statement returns the value 34.
SELECT COALESCE( NULL, 34, 13, 0 )