SQL Flow Field Guide

@@LANGUAGE

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

reads configuration (@@ function)

What changes

Input
server or session configuration state
Output or change
value
Return type
nvarchar

Syntax at a glance

@@LANGUAGE

Work example

Read the current session language when investigating localized names or date parsing.

Use typed values and explicit formats in shared queries that must work across session languages.

Check your work Changing session language can change date names and interpretation of ambiguous date strings.

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