Solved

Different collation on Dev and prod Servers

Posted on 2004-08-30
2
256 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
2 Comments
 
LVL 18

Assisted Solution

by:SjoerdVerweij
SjoerdVerweij earned 25 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 100 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Database tuning – How to start and what to tune. This question is frequently asked by many people, both online and offline. There is no hard and fast rule-of-thumb for performance tuning, however, before beginning the tuning process one should a…
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now