About 145,000 results
Open links in new tab
  1. CONCAT (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · CONCAT takes a variable number of string arguments and concatenates (or joins) them into a single string. It requires a minimum of two input values; otherwise, CONCAT raises …

  2. SQL Server CONCAT () Function - W3Schools

    Definition and Usage The CONCAT () function adds two or more strings together. Note: See also Concat with the + operator and CONCAT_WS (). Syntax CONCAT (string1, string2, ...., string_n)

  3. SQL Concatenate Examples - SQL Server Tips

    Oct 5, 2021 · In this article we look at how to concatenate SQL Server data using various methods using concatenation operator, functions CONCAT and CONCAT_WS.

  4. How to Concatenate Text From Multiple Rows in SQL Server

    Jul 23, 2025 · In this article, we will discuss how to concatenate text from multiple rows into a single text string in SQL Server using various methods which are COALESCE Function, XML …

  5. SQL Server CONCAT Function By Practical Examples

    To join two or more strings into one, you use the CONCAT() function with the following syntax: The CONCAT() takes two up to 255 input strings and joins them into one. It requires at least …

  6. SQL Server: CONCAT Function - TechOnTheNet

    This SQL Server tutorial explains how to use the CONCAT function in SQL Server (Transact-SQL) with syntax and examples. In SQL Server (Transact-SQL), the CONCAT function allows you to …

  7. Concatenation in SQL query – SQL Tutorial

    In summary, concatenation in SQL Server can be done using either the + operator or the CONCAT function, with CONCAT being more robust in handling NULL values.

  8. How to use concatenate in SQL Server

    In SQL Server, concatenation refers to the process of combining two or more string values together into a single string value. This is often used to create more readable and informative …

  9. SQL CONCAT Function Use and Examples - SQL Server Tips

    Apr 27, 2025 · The CONCAT function in SQL Server helps you concatenate multiple strings, dates and numbers into a combined string.

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

    Consider a database table holding names, with three rows: Is there an easy way to turn this into a single string of Peter, Paul, Mary? For answers specific to SQL Server, try this question. I wish …