Loading lesson path
Concept visual
Start at both ends
Formula
Return the first non - null value in a list:COALESCE(NULL, NULL, NULL, 'W3Schools.com', NULL, 'Example.com');Formula
The COALESCE() function returns the first non - null value in a list.val1, val2,...., val_n )
Description val1, val2, val_n Required. The values to test
SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse
Formula
Return the first non - null value in a list:COALESCE(NULL, 1, 2, 'W3Schools.com');❮ SQL Server Functions