Solved

Different collation on Dev and prod Servers

Posted on 2004-08-30
2
259 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
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…

810 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