Logo 
Search:

SQL Server Articles

Submit Article
Home » Articles » SQL Server » Configuration FunctionsRSS Feeds

@@LANGUAGE - LANGUAGE Function

Posted By: Sarita Patel     Category: SQL Server     Views: 2009

This article explains about @@LANGUAGE function in sql server with examples.

@@LANGUAGE function is used to get name of the language in use. You can view information of language settings by running sp_helplanguage without any parameters.


Syntax of @@LANGUAGE Function :

@@LANGUAGE

Return type of @@LANGUAGE function is nvarchar.



Examples of @@LANGUAGE Function :

Example 1 : Use of @@LANGUAGE function in select clause

SELECT @@LANGUAGE

Output
us_english

Above example returns current language in use for current session.
  
Share: 


Didn't find what you were looking for? Find more on @@LANGUAGE - LANGUAGE Function Or get search suggestion and latest updates.

Sarita Patel
Sarita Patel author of @@LANGUAGE - LANGUAGE Function is from United States.
 
View All Articles

 
Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

 
No Comment Found, Be the First to post comment!