About 588,000 results
Open links in new tab
  1. SQL Server COALESCE () Function - W3Schools

    Definition and Usage The COALESCE () function returns the first non-null value in a list. Syntax COALESCE (val1, val2, ...., val_n)

  2. How to Use the COALESCE() Function in SQL - LearnSQL.com

    May 24, 2022 · In this article, we demonstrated several ways to use the SQL COALESCE() function. We covered how to use COALESCE() to replace NULL values, how to compute an …

  3. SQL Server COALESCE () Function - GeeksforGeeks

    Jul 23, 2025 · The COALESCE() function in SQL Server is a powerful tool designed to handle NULL values effectively. It evaluates a list of expressions in a specified order and returns the …

  4. How to Use the COALESCE() Function in SQL (With Examples)

    Mar 27, 2025 · Whether you’re cleaning datasets or merging columns, SQL offers a simple yet powerful solution: the COALESCE() function. This tutorial will show you how COALESCE() …

  5. SQL COALESCE Function

    Summary: in this tutorial, you’ll learn how to use the SQL COALESCE() function to handle NULL effectively. In SQL, the COALESCE() function takes one or more arguments and returns the …

  6. SQL Coalesce Function Examples and Use Cases

    Feb 5, 2025 · This tip explores how to handle NULL values in SQL Server using the COALESCE () function using various queries and reviewing the results. Developers should code to handle …

  7. COALESCE (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · Returns the data type of expression with the highest data type precedence. If all expressions are non-nullable, the result is typed as non-nullable. If all arguments are NULL, …

  8. COALESCESQL Tutorial

    SQL COALESCE is a useful function that returns the first non-null value from a list of expressions. It takes any number of expressions as arguments, and returns the first non-null expression. If …

  9. SQL COALESCE - Syntax, Use Cases, and Examples | Hightouch

    What is SQL COALESCE? The SQL COALESCE function is used to handle NULL values in a database query by returning the first non-NULL value from a list of expressions or column …

  10. SQL COALESCE Function: Syntax, Usage, and Examples

    In SQL Server, the COALESCE functions just like in other environments. It works in computed columns, expressions, joins, and even in stored procedures. This returns 'Fallback value' since …