Solved

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

Posted on 2007-11-30
2
2,454 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

This article will describe one method to parse a delimited string into a table of data.   Why would I do that you ask?  Let's say that you need to pass multiple parameters into a stored procedure to search for.  For our sake, we'll say that we wa…
by Mark Wills Attending one of Rob Farley's seminars the other day, I heard the phrase "The Accidental DBA" and fell in love with it. It got me thinking about the plight of the newcomer to SQL Server...  So if you are the accidental DBA, or, simp…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

717 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