About 1,110,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. Efficient String Concatenation in SQL Server - Axial SQL

    Nov 24, 2025 · Learn how to efficiently concatenate strings in SQL Server. Explore different methods and best practices for string concatenation in SQL Server.

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

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

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

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