@@LANGUAGE#

Returns the name of the language that is currently being used.

Syntax#

@@LANGUAGE

Return types#

nvarchar(128)

Remarks#

The value is the name of the session language in sys.syslanguages. To change the session language, use SET LANGUAGE.

Example#

SET LANGUAGE British;

SELECT @@LANGUAGE AS language_name;

-- Result: British

See Also#