About 278,000 results
Open links in new tab
  1. 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 if you …

  2. 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?

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

  4. sql - Concatenate multiple result rows of one column into one, group …

    Concatenate multiple result rows of one column into one, group by another column [duplicate] Asked 12 years, 8 months ago Modified 2 years, 9 months ago Viewed 381k times

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

  6. 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 that's the...

  7. SQL Query to concatenate column values from multiple rows in Oracle

    Would it be possible to construct SQL to concatenate column values from multiple rows? The following is an example: Table A PID A B C Table B PID SEQ Desc A 1 Have A 2 a...

  8. sql - Concatenate Numbers and Strings to Format Numbers - Stack …

    Concatenate Numbers and Strings to Format Numbers Asked 16 years, 6 months ago Modified 4 months ago Viewed 344k times

  9. How to concatenate variables into SQL strings - Stack Overflow

    I need to concatenate a variable table name into my SQL query such as the following... ALTER FUNCTION fn_myfunction(@KeyValue text) BEGIN INSERT INTO @tmpTbl1 SELECT @KeyValue …

  10. sql - What is the string concatenation operator in Oracle ... - Stack ...

    Jun 29, 2015 · What is the string concatenation operator in Oracle SQL? Are there any "interesting" features I should be careful of? (This seems obvious, but I couldn't find a previous question asking it).