Click to Rate and Give Feedback
Transact-SQL Reference
 @@LANGUAGE
Transact-SQL Reference (SQL Server 2000)
@@LANGUAGE

Returns the name of the language currently in use.

Syntax

@@LANGUAGE

Return Types

nvarchar

Remarks

To view information about language settings (including valid official language names), run sp_helplanguage with no parameter specified.

Examples

This example returns the language for the current session.

SELECT @@LANGUAGE AS 'Language Name'

Here is the result set:

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

See Also

Configuration Functions

SET LANGUAGE

sp_helplanguage

© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker