Newer Version Available

This content describes an older version of this product. View Latest

coalesce()

Use the coalesce() function to get the first non-null value from a list of parameters.
For example, the following statements ensure that a non-null grouping value is used when doing a full outer join.
You can also use the coalesce() function to replace nulls with a default value. For example, the following statements set the default for division by zero to a non-null value.