SQL Server Articles

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

@@LANGID - LANGID Function

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

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

@@LANGID function is used to get local language identifier of current language in use.

Syntax of @@LANGID Function :


Return type of @@LANGID function is smallint.

Examples of @@LANGID Function :

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



As you can observer that you can set language and if you execute @@LANGID function it shows identifier for current language in use. In above example it shows id '0' for 'ENGLISH' language.

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

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

Related Articles and Code:

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!