How to configure MSSQL server default language configuration option?

Recently, we faced strange issue wherein one of our customers was capturing error messages coming from SQL server and writing them into database table. These error messages could not help much to customer as error messages were in Spanish language.

As a part of our primary investigation, we verified the default language of database which was set to English. Hence, we suspected the code that was writing errors to database table. However, our customer was too sure about his stored code.
Finally, after several hours of our exercise, we could resolve the problem and came to know following:

  • Customer was right on his place; his code was never in question.
  • In our primary investigation, we verified default language of database but missed the configuration of database user default language.
  • We modified the database user configuration and changed its default language to English.

Let’s see how we did it:

Configure default language option for database user from SQL Server Management Studio 2012

  1. In Object Explorer, right-click on server and select Properties.
  2. Click the Misc server settings node.
  3. In the Default language for users box, choose the language in which Microsoft SQL Server should display system messages.
  4. The default language is English.

Configure default language option for database user from Using Transact-SQL

  1. Connect to the Database Engine.
  2. From the Standard bar, click New Query.
  3. Copy and paste the following example into the query window and click Execute.
  4. The setting takes effect immediately without restarting the server.
    EXEC sp_defaultlanguage 'user_name', 'us_english' GO

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How do I connect to MSSQL Server 2008 from SQL Server Management Studio?

This article will guide you on how to connect to MS SQL Server 2008 from SQL Server Management...

How to Change MS SQL Database Recovery Model?

This article describes how to to change recovery model of a MS SQL database through SQL Server...

Microsoft SQL Server 2012 Recommendation

Microsoft SQL Server 2012 Express is a feature-rich yet FREE data management system. It is far...

Comparison of MS SQL Server 2016 Express Edition V/S. MS SQL Server 2016 Web Edition

Following is a brief comparison between MSSQL Server 2016 Express Edition and MSSQL Server 2016...

How to change password for MS SQL admin user?

Following tutorial will guide you to reset the MS SQL server sa user password. We assume that you...