|
I have a problem with Collation Code on some of my SQL 2005 Servers. The servers are installed with Collation Code “Danish_Norwegian_CI_AS” and The database is installed with Collation Code “Danish_Norwegian_CI_AI” The Collation Code has to be the same on the database and SQL Server. I have tried to change the collation Code on the database, but it came up with the following errors: The object '_dta_mv_100' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation. The object 'fXtSummary' is dependent on database collation. The database collation cannot be changed if a schema-bound object depends on it. Remove the dependencies on the database collation and then retry the operation. I think I could handle the views by:
The functions are a bit more difficult, because there are some “Object Dependencies” . I could script the function also, but I have a problem to recreate the “Objects that depend on []. Can somebody help me with a solution to handle this problem or are there an other way to change the Collation Code? It is not possible to change the Collation Code on the SQL Server by reinstall SQL. There are 185 views and 47 Functions with the depend on database collation on each SQL Server and I have 4 SQL servers with the same problem.
(comments are locked)
|
|
You are going to have to script out the objects and create from new...
(comments are locked)
|
|
I posted this a while back: link text It is not perfect, but it is a start. Then Irwan Tjanterik posted (on page 4 of the link above) a note about a program that he had written to solve this problem. I got a copy, but have not had the time to check it out. You could write him, and see if he still needs testers. Best regards, Henrik Staun Poulsen
(comments are locked)
|

