About 13,600,000 results
Open links in new tab
  1. 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

  2. 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, …

  3. How to use Coalesce in MySQL - Stack Overflow

    A little help here. I really don't understand how to use this coalesce in MySQL I have read all the pages in page 1 result of how to use coalsece in google result. I know its meaning that it ret...

  4. What is the difference between IFNULL and COALESCE in MySQL?

    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 work with two or …

  5. 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!

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

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

    Mar 11, 2009 · SQL Coalesce in WHERE clause Asked 16 years, 9 months ago Modified 16 years, 9 months ago Viewed 67k times

  8. When should I use ?? (nullish coalescing) vs || (logical OR)?

    The OR operator || uses the right value if left is falsy, while the nullish coalescing operator ?? uses the right value if left is null or undefined. These operators are often used to provide a default value if the …

  9. Using ISNULL vs using COALESCE for checking a specific condition?

    Dec 10, 2017 · The COALESCE documentation has this note: ISNULL and COALESCE though equivalent, can behave differently. An expression involving ISNULL with non-null parameters is …

  10. COALESCE() for blank (but not null) fields - Stack Overflow

    Jun 15, 2015 · The problem is, Field1 is sometimes blank but not null; since it's not null COALESCE() selects Field1, even though its blank. In that case, I need it to select Field2. I know I can write a if …