Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
@@LANGUAGE (Transact-SQL)
Applies to: 👁 Image
SQL Server 👁 Image
Azure SQL Database 👁 Image
Azure SQL Managed Instance 👁 Image
Azure Synapse Analytics 👁 Image
Analytics Platform System (PDW) 👁 Image
SQL database in Microsoft Fabric
Returns the name of the language currently being used.
👁 Image
Transact-SQL syntax conventions
Syntax
@@LANGUAGE
Return Types
nvarchar
Remarks
To view information about language settings, including valid official language names, run sp_helplanguage without a parameter specified.
Examples
The following example returns the language for the current session.
SELECT @@LANGUAGE AS 'Language Name';
Here's the result set.
Language Name
------------------------------
us_english
See Also
Feedback
Was this page helpful?
