Solved

How can I change collation on tempdb, master db without rebuild of other dbs?

Posted on 2007-11-30
2
2,453 Views
Last Modified: 2008-02-01
Hi all,
I have an instance of sql-2005.  All of the user db's were migrated from an sql-2000 instance, and they all have a collation of SQL_Latin1_General_CP1_CI_AS.

Yet the person who had previously set up this new instance had set it up with the collation Latin1_General_CI_AI.

Because of this I sometimes get collation errors, and from what I've read it's mostly due to sorting temp tables in the tempdb.  So is is possible to change the tempdb collation, or is that based on the master or model db's collation?  And if so, can I change either of those collations (without rebuilding all user dbs)?

Bottom line is I'm just looking for the easiest way to maintain the SQL_Latin1_General_CP1_CI_AS collation in my user db's and avoid the collation errors.  I have a terabyte or so of user db's and I want to avoid the downtime of backup/restore of those just to change a collation on the instance.  What's the best way to achieve this?
Thanks,
Jim
0
Comment
Question by:jimojimo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 31

Accepted Solution

by:
James Murrell earned 125 total points
ID: 20382698
this might help/point in right direction http://www.ssw.com.au/SSW/KB/KB.aspx?KBID=Q711843
0
 
LVL 1

Author Comment

by:jimojimo
ID: 20388378
cs97,
Thanks, I will try that and see if it works with the Tempdb.  All my user db's are in the 'correct' collation (that is, the collation I've chosen), it's just the server that has it's 'default' collation different from my user db collations.

 I'll try what you're link suggests--but without renaming/re-importing the user db's--just changing the default collation and restarting the server.  I would assume that since tempdb is recreated at server startup then it should be recreated with the new default collation, which I'll set to my 'correct' collation.

I'm still not sure if the Master db collation--which I assume will retain the 'in-correct' collation--will cause any of the error messages.  It's my understanding that the master shouldn't matter for sorting, temp tables, etc, but I'm wondering if anyone could shed light on that,
--Jim
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've encountered valid database schemas that do not have a primary key.  For example, I use LogParser from Microsoft to push IIS logs into a SQL database table for processing and analysis.  However, occasionally due to user error or a scheduled taskā€¦
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question