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

Databases are better when they can run themselves. CockroachDB is a SQL database that automates scaling and recovery. Check it out here.

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.

Databases should be easy to deploy, easy to use, and easy to scale. If you agree, you should check out CockroachDB, a scalable SQL database built for businesses of every size. Check it out here. 

Topics:
sql server 2014

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}