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

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

  5. Is there a coalesce-like function in Excel? - Stack Overflow

    2 If you only want to coalesce to 0, which is a very common use case, you can simply use the SUM() function around a single value. As a convenience that one treats all blanks as zero, and it's extra …

  6. what is the difference between Coalesce and nullif

    From what I have read online it seems like nullif and coalesce are very similar and was wondering what the underlining difference is and if they could be used together to accomplish this requirement.

  7. Is there a Python equivalent of the C# null-coalescing operator?

    Feb 12, 2011 · One of the biggest strengths of Python is its expressiveness. It's a pity Python doesn't provide a None -coalescing operator. The ternary alternative is way more verbose and the or solution …

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

  9. What is the PostgreSQL equivalent for ISNULL () - Stack Overflow

    Jan 14, 2012 · It is worth pointing out that ISNULL and COALESCE are not the same. IsNull forces the result-type to the type of argument1, while coalesce uses the respective types for each argument. If …

  10. sql - CASE inside a COALESCE - Stack Overflow

    Sep 14, 2018 · I have two Redshift tables with timestamp values. One of them have local with some nulls and the other have GMT but no nulls. I also have a country column in table 2. I want to query …