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

How to fix an error "change password failed for login sa"?

Sometimes you receive following error while trying to reset MS SQL sa password via SQL Management...

Choosing Between SQL Server 2012 and SQL Server 2014

If you are running SQL Server 2008 R2, you might be looking to upgrade your SQL server to...

How to install MS SQL Server 2016?

Microsoft® SQL Server® 2016 is the latest version of Microsoft's relational database management...

How to create a Database in MSSQL Server?

If you have a Windows VPS / Dedicated server with MSSQL Server and WebsitePanel installed, you...