HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Add two strings together
The CONCAT() function adds two or more strings together.
CONCAT(string1, string2, ...., string_n)
Parameter | Description |
---|---|
string1, string2, string_n | Required. The strings to add together |
Works in: | SQL Server (starting with 2012), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
Add 3 strings together:
SELECT
CONCAT('SQL', ' is', ' fun!');
Add strings together (separate each string with a space character):
SELECT
CONCAT('SQL', ' ', 'is', ' ', 'fun!');