About 48,200 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 …

  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 …

  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 …

  6. sql server - SQL Coalesce in WHERE clause - Stack Overflow

    Mar 11, 2009 · I'm trying to interpret what you are saying correctly. I think you mean the following: how do you use coalesce to say all rows if null otherwise only rows that match. If that's the …

  7. COALESCE, IFNULL, or NZ () function that can be used in SQL …

    Aug 17, 2012 · I have a project that can use either SQL Server or MS Access as the data store. In one SELECT statement, I must perform a COALESCE operation on a single column and a …

  8. 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. …

  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 …

  10. sql - What is the difference between IFNULL and COALESCE in …

    Aug 30, 2013 · Pros of COALESCE COALESCE is SQL-standard function. While IFNULL is MySQL-specific and its equivalent in MSSQL (ISNULL) is MSSQL-specific. COALESCE can …