Back to Blog

SQL Server 2012

How to use the SQL Server String Concat Function in SQL Server 2012

Concatenate strings using CONCAT function in SQL Server. Learn to combine text columns, handle NULLs, and build dynamic strings efficiently.

1 min read

Last updated on

SQL Server 2012 includes a new Concat function that makes it easier to put strings, numbers, dates, and nulls together.

The old way was with ’+’ signs and cast or convert. Now you just use the SQL Server String Concat Function.

In this video I do a quick demonstration of the Concat Function.

I use the Chinook Sample Database and the following scripts:

select FirstName + ' ' + LastName + '-' + Company

from customer

select CONCAT(FirstName,' ',LastName,'-',Company)

from customer

See the original SQL Concat Function video.

About Joey Blue

Joey Blue teaches practical data skills that companies actually use. With 25+ years of experience solving real data problems for Fortune 500 companies, he's helped 152,000+ students learn SQL, Power BI, reporting, and modern analytics—cutting straight to what works.