SQL Flow Field Guide

CONCAT

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

string transform

What changes

Input
string arguments
Output or change
string or integer
Return type
A string value whose length and type depend on the input.

Syntax at a glance

CONCAT ( argument1 , argument2 [ , argumentN ] ... )

Work example

Join display fragments while treating null string inputs as empty strings.

Add separators explicitly and cast inputs when output length or type matters.

Check your work CONCAT converts arguments to strings and returns an empty string when every argument is null.

Practice SQL

Open in SQL Flow
SELECT CONCAT('Batch', ' ', 42) AS label;

Open Microsoft Learn for full syntax, permissions, and details for your version.