About 299,000 results
Open links in new tab
  1. SQL Server: Best way to concatenate multiple columns?

    I am trying to concatenate multiple columns in a query in SQL Server 11.00.3393. I tried the new function CONCAT() but it's not working when I use more than two columns. So I wonder if …

  2. Concatenate two columns which have a space between them

    Oct 16, 2017 · Concatenate two columns which have a space between them Forum – Learn more on SQLServerCentral

  3. Concatenate with NULL values in SQL - Stack Overflow

    Using + to concatenate strings indicates that you are using a DBMS-specific extension. The behaviour might be the same as the standard requires - indeed, that seems to be the gist of …

  4. XML PATH Concatenate Syntax – SQLServerCentral Forums

    Aug 13, 2012 · I use a nested query to concatenate row data for an aggregate. The syntax I use within the nested query is for XML PATH ('') Can someone explain what is supposed to go …

  5. How to use GROUP BY to concatenate strings in SQL Server?

    SQL Server 2005 and later allow you to create your own custom aggregate functions, including for things like concatenation- see the sample at the bottom of the linked article.

  6. Concatenate CASE Statements – SQLServerCentral Forums

    Dec 11, 2012 · Concatenate CASE Statements Forum – Learn more on SQLServerCentral

  7. sql - Concatenate text from multiple rows into a single text string ...

    Consider a database table holding names, with three rows: Peter Paul Mary Is there an easy way to turn this into a single string of Peter, Paul, Mary?

  8. How to concatenate a New line??? – SQLServerCentral Forums

    Jul 8, 2011 · Hi, I have two strings say @Str1 & @Str2. I want to concatenate @Str1 & @Str2 with a new line between them. @Str1=Sql @Str2=Server The output should be Sql Server rather …

  9. How to concatenate in SQL Server - Stack Overflow

    May 3, 2015 · To concatenate strings in SQL Server you can simply use the . Note that if one of the substrings is null then the entire concatenated string will become null as well. therefor, use …

  10. Concatenate fields and insert comma between: how to handle nulls

    Sep 5, 2014 · Concatenate fields and insert comma between: how to handle nulls Forum – Learn more on SQLServerCentral