Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Quick Tip: How to Find SQL Server's Current Language

DZone's Guide to

Quick Tip: How to Find SQL Server's Current Language

Need to find out what SQL Server's default language is set to? These two quick tips will show you how to find out.

· Database Zone ·
Free Resource

RavenDB vs MongoDB: Which is Better? This White Paper compares the two leading NoSQL Document Databases on 9 features to find out which is the best solution for your next project.  

In this post, I will show the SQL Query to find SQL Server's Current Language. Write the following Query in the SQL Server and execute.

QUERY I to Find the Current Language of SQL Server

Select @@LANGUAGE as Language

Execute the preceding query and check the output.

SQL Query to Find Current Language of SQL Server

QUERY II to Find the Current Language of SQL Server:

Another way we can find the current language of SQL Server is by executing the following script:

select * from sys.syslanguages where langid=@@langid

Execute the preceding query and check the output.

SQL Query to Find Current Language of SQL Server

Using this query we can get the current language of SQL Server. I hope this trick is useful to developers.

Get comfortable using NoSQL in a free, self-directed learning course provided by RavenDB. Learn to create fully-functional real-world programs on NoSQL Databases. Register today.

Topics:
sql server 2014

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}