<< Default values and comments | IBEBlock | ibec_Copy >>

ibec_Coalesce

Syntax:

 function ibec_Coalesce(Val1 : variant; Val2 : variant; [Val2 : variant; ...]) ; variant;

The ibec_Coalesce function is similar to the Firebird COALESCE functions. It takes two or more arguments and returns the value of the first non-NULL argument. If all the arguments evaluate to NULL, NULL is returned.

The evaluation of input expressions stops as soon as the result of the entire expression becomes evident in left to right order of evaluation.

See also:
COALESCE

back to top of page
<< Default values and comments | IBEBlock | ibec_Copy >>