Any suggestions? Export (0) Print
Expand All

@@LANGUAGE (Transact-SQL)

 

THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008) yesAzure SQL Database yesAzure SQL Data Warehouse yesParallel Data Warehouse

Returns the name of the language currently being used.

Topic link icon Transact-SQL Syntax Conventions


@@LANGUAGE
-- Azure SQL Data Warehouse and Parallel Data Warehouse
@@LANGUAGE

nvarchar

To view information about language settings, including valid official language names, run sp_helplanguage without a parameter specified.

The following example returns the language for the current session.

SELECT @@LANGUAGE AS 'Language Name';

Here is the result set.

Language Name                 
------------------------------
us_english                    

The following example returns the language for the current session.

SELECT @@LANGUAGE AS 'Language Name';

Here is the result set.

Language Name                 
------------------------------
us_english                    

Community Additions

ADD
Show:
© 2016 Microsoft