?
Solved

Different collation on Dev and prod Servers

Posted on 2004-08-30
2
Medium Priority
?
265 Views
Last Modified: 2006-11-17
I have 2 servers,
When SQl Server was installed on them the collation was somehow set to be diiferent...
As the production server uses the stuff developed in developement server ..when i try to copy stuff it gives collation error..
Can i change the collation of the server by any means...?
Is there a solution to fix the problem..?

Thanks
0
Comment
Question by:mostym
[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 18

Assisted Solution

by:SjoerdVerweij
SjoerdVerweij earned 100 total points
ID: 11933546
- Create a new database with the correct collation.
- Use DTS to copy everything to the new database.
- Rename/delete the old database.
- Rename the new database.
0
 
LVL 10

Accepted Solution

by:
winzig earned 400 total points
ID: 11934082
Unfortunately, it isn't so easy. As you can see in the following question:


http://www.experts-exchange.com/Databases/Q_21092551.html
 

there is a Houbart faintbru@btinternet.com which changing collation in all fields (I made same improvements to this  script)
But because I bypass same limitation of SQL server (You cannot use alter table on text fields) there is a problem with encrypted Stored procedures and with encrypted triggers.

But if you can recreate those structures in your target database there will not be problem wit this script.

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
In this article, I’ll look at how you can use a backup to start a secondary instance for MongoDB.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

777 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