About 53 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 query multiple joins COALESCE to avoid NULL result

    Apr 11, 2025 · SQL query multiple joins COALESCE to avoid NULL result Asked 11 months ago Modified 10 months ago Viewed 239 times

  4. Sql COALESCE entire rows? - Stack Overflow

    Sep 14, 2011 · I just learned about COALESCE and I'm wondering if it's possible to COALESCE an entire row of data between two tables? If not, what's the best approach to the following ramblings? …

  5. 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 case I would …

  6. sql - Coalesce vs Case - Stack Overflow

    Nov 1, 2012 · COALESCE() is literally shorthand for a CASE statement, they will perform identically. However, as podiluska mentioned, ISNULL() can be occasionally faster than a CASE statement, but …

  7. sql - How can I get distinct values in COALESCE () - Stack Overflow

    Jul 13, 2012 · Declare @name varchar(max) select @name = COALESCE(@name + ', ','') + user_email from (select distinct user_email from PostedCommentMaster where article_id = @id) pc Note that …

  8. what is the use of coalesce in sql? - Stack Overflow

    Oct 5, 2013 · I'm new to sql server. I googled the use of coalesce and find out it is another words a replace of ISNULL. I came across a piece of code posted in the forum about the different uses of …

  9. sql - Qual a diferença entre ISNULL e COALESCE numa pesquisa?

    Mar 26, 2015 · Estou com dúvida na utilização do ISNULL e COALESCE. Atualmente ao criar uma query no SQL Server, fiquei com dúvida sobre ISNULL e COALESCE, realizei algumas pesquisas e …

  10. sql - COALESCE in Where clause? - Stack Overflow

    Mar 25, 2014 · COALESCE is useful when joining multiple tables and you want the first non-null value in specific order. Ex.