About 680,000 results
Open links in new tab
  1. SQL Server CONCAT() Function - W3Schools

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

  2. CONCAT (Transact-SQL) - SQL Server | Microsoft Learn

    Sep 3, 2024 · 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 …

  3. How to concatenate text from multiple rows into a single text …

    Oct 27, 2015 · Starting with the next version of SQL Server, we can finally concatenate across rows without having to resort to any variable or XML witchery. STRING_AGG (Transact-SQL) …

  4. SQL CONCAT Function - SQL Tutorial

    To concatenate multiple strings, you pass them as a list of comma-separated arguments to the CONCAT function. The CONCAT function returns a string which is the combination of the …

  5. How to Concatenate Two Columns in SQL – A Detailed Guide

    Feb 16, 2023 · Learn how to concatenate two columns in SQL with this detailed guide. SQL concatenation is the process of combining two or more character strings, columns, or …

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

  7. sql server - SQL, How to Concatenate results? - Stack Overflow

    In my opinion, if you are using SQL Server 2017 or later, using STRING_AGG( ... ) is the best solution: More at: It depends on the database you are using. MySQL for example supports the …

  8. 6 Ways to Concatenate a String and a Number in SQL Server

    The most obvious (and possibly the best) way to concatenate a string and a number is to use the CONCAT() function. This allows you to provide the string and the number as two separate …

  9. How to Concatenate Strings in SQL - LearnSQL.com

    To append a string to another and return one result, use the || operator. This adds two strings from the left and right together and returns one result. If you use the name of the column, don’t …

  10. SQL Concatenate Examples - MSSQLTips.com - SQL Server Tips

    Oct 5, 2021 · In any version of SQL Server, you can use the plus sign as a concatenation operator with the following syntax: SELECT 'Hello'+' World'+'!' It doesn’t really matter if you’re …

  11. Some results have been removed
Refresh