Udostępnij za pośrednictwem


@@LANGUAGE (Transact-SQL)

Returns the name of the language currently being used.

Ikona łącza do tematu Transact-SQL Syntax Conventions

Składnia

@@LANGUAGE

Return Types

nvarchar

Uwagi

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 is the result set.

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

Zobacz także

Odwołanie

Configuration Functions (Transact-SQL)

SET LANGUAGE (Transact-SQL)

sp_helplanguage (Transact-SQL)