Returns the first non-NULL expression from a list.
COALESCE ( expression, expression [ , … ] )
expression Any expression
The following statement returns the value 34:
SELECT COALESCE( NULL, 34, 13, 0 ) FROM iq_dummy
SQL92 SQL92
Sybase Compatible with Adaptive Server Enterprise.