About 103,000 results
Open links in new tab
  1. How does the SQL function COALESCE() work? - Stack Overflow

    Aug 6, 2018 · The SQL COALESCE() function can be described in a single sentence: COALESCE returns the first non-NULL value passed for each row. Please rephrase this sentence in a simple, …

  2. sql - COALESCE Function in TSQL - Stack Overflow

    Nov 13, 2012 · Can someone explain how the COALESCE function in TSQL works? The syntax is as follows COALESCE(x, y) The MSDN document on this function is pretty vague

  3. sql - Oracle Differences between NVL and Coalesce - Stack Overflow

    Jun 4, 2009 · COALESCE is more modern function that is a part of ANSI-92 standard. NVL is Oracle specific, it was introduced in 80 's before there were any standards. In case of two values, they are …

  4. SQL - Difference between COALESCE and ISNULL? [duplicate]

    Sep 16, 2013 · What are the practical differences between COALESCE() and ISNULL(,'')? When avoiding NULL values in SQL concatenations, which one is the best to be used? Thanks!

  5. sql - why my coalesce function not working - Stack Overflow

    May 8, 2014 · I think the problem is not with the COALESCE () function, but with the value in the attribute/column. In my case, the value appears to be NULL, and the way the data flows, it should be …

  6. SQL SERVER - Problems with COALESCE() function - Stack Overflow

    Jun 16, 2011 · COALESCE: Return Types Returns the data type of expression with the highest data type precedence. If all expressions are nonnullable, the result is typed as nonnullable. (Emphasis …

  7. sql - Using ISNULL or COALESCE on date column - Stack Overflow

    Using ISNULL or COALESCE on date column Asked 6 years, 9 months ago Modified 3 years, 7 months ago Viewed 43k times

  8. SQL Essentials: COALESCE Function Explained — NetSuite Community

    May 2, 2025 · Overview COALESCE is a function that returns the first non-null value from a list of arguments.

  9. Use COALESCE (or something like it) with GROUP BY in SQL server

    Mar 31, 2015 · I think I'm missing something basic in how to efficiently use GROUP BY to eliminate redundant records. I keep hitting places where it seems like I need to use COALESCE, except that …

  10. sql - CASE inside a COALESCE - Stack Overflow

    Sep 14, 2018 · For anyone struggling with this issue, to appropriately write a CASE statement within a COALESCE statement, the code should be revised as follows: