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



Related Articles

How to Fix Error "Could not allocate space for object 'X' in database"?

Error Message Could not allocate space for object 'dbo.ABC_XYZ_XYZ'.'AB__ABC_XYZ__XYZ' in...

Fix :: Reporting Service Error After Upgrade From MS SQL server from 2008 to 2012

Error Message Throwing Microsoft.ReportingServices.Diagnostics.Utilities....

How to change Database Collation in MsSQL Server?

Collation is a configuration level setting in the MSSQL. It directs how the character data will...

Microsoft SQL Server 2012 Recommendation

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

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...

  • 0 Users Found This Useful

Was this answer helpful?