February 26, 2010 at 4:42 am
Hi,
I want to change the language of my SQL Server from english to portuguese.
How can i do this?
What chabges apen after language is changed?
What it will affect.
Thank you
February 26, 2010 at 6:04 am
You want to change the entire server default language, one logins or one sessions language.
When changing language, the sql server messages will change, the datefirst may be different, the datenames returns will change, ....
to change the default language of the server
EXEC sp_configure 'default language', 9
RECONFIGURE
To change the default language of a login:
ALTER LOGIN sa WITH DEFAULT_LANGUAGE = Portuguese;
To change the language in a session:
SET Language Portuguese
Remember that changing a server default labguage doesn't change the preexisting logins or sessions default language.
The table master..syslanguages has information about languages.
February 26, 2010 at 6:14 am
Hi,
I have made this:
EXEC sp_configure 'default language', 9
RECONFIGURE
Then i receved this:
Configuration option 'default language' changed from 0 to 9. Run the RECONFIGURE statement to install.
Don't understand what is this "Run the RECONFIGURE statement to install."
Can you please explain?
Thank you
February 26, 2010 at 6:25 am
river1 (2/26/2010)
Don't understand what is this "Run the RECONFIGURE statement to install."
It's referring to the RECONFIGURE statement, the one in the script you posted. Any change to sp_configure will produce that statement. It's saying that you need to run RECONFIGURE, which you did.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 26, 2010 at 6:28 am
The reconfigure statement is already in the statement. But the message from the first statement gives that.
That's because sql server has configured values and running values when it deals with server configurations. When one runs sp_configure it changes only the configured values. Then the reconfigure statement "copies" configured values to running values. This way you can change several configurations and put it to run only one time.
Read abou sp_configure and reconfigure on books online.
February 26, 2010 at 6:54 am
Hi,
Maybe it's better for my to put the direct question that i want to know.
The problem is this:
I'm printing some reports (standard reports) and the language is english.
If i change the default language to portuguese will the reports be printed using portuguese language? or will they still use English as the language of the report?
February 26, 2010 at 6:59 am
What reports?
Changing the language will not translate data stored in the database, nor will it translate anything that's explicitly put on to a report, if we're talking about reporting services reports here.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 26, 2010 at 7:05 am
I'm talking about the standar reports that come with SQL Server 2005.
For instance, if i right click on a database a menu will appear.
In this menum you have an entry named "Reports"
If you click there (reports) you will see Standard reports.
I'm curretly working on the report "Disk Usage"
The entire language of the reports is english.
If i change the default language of the server to portuguese will the reports come with information in portuguese?
February 26, 2010 at 7:22 am
It doesn't appear to. I just tried it out, switching my server to french and running the reports. Still in English.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
February 26, 2010 at 7:25 am
Ok. In that case i can not print the standard reports that came with SQL Server 2005 in my mother language.
Thank you Gail
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply