About 52 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. 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...

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

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

  4. What is the difference between COALESCE and NULLIF?

    COALESCE() takes a list of values and returns the first non-null value (or null if all values are null). NULLIF() takes two values and returns the first value, except it returns null if the values are equal.

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

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

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

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

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

  10. Qual a diferença entre COALESCE e NVL - Stack Overflow em Português

    Coalesce Select COALESCE(A,B) Teste from TabelaTeste NVL Select NVL(A,B) Teste from TabelaTeste Qual a diferença entre estes comandos? Algum é mais performático? Quais critérios …