[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Cannot Resolve collation conflict [SQLSTATE 42000]

Posted on 2007-08-09
Medium Priority
Last Modified: 2008-02-07
I'm getting the following error on a procedure:

Msg 446, Sev 16: Cannot resolve collation conflict for equal to operation. [SQLSTATE 42000]
Job 'DPSU Remove Employee Subgroup' : Step 1, 'REMOVE EMPLOYEE SUBGROUP' : Began Executing 2007-08-09 08:00:00

From what I've found, this can occur when the collation of the database doesn't match the master or tempdb collation. However, they all match.

One pertinent issue, is that the Instance this DB originated from does have a different collation to the one it resides on now.

Original DB=
Latin1-General,Case-Insensitive,Accent-Sensitive,Kanatype-Insensitive,Width-Insensitive Unicode Data,Sort Order 52 for non unicode data

New DB=

These procedures have worked for about 3 years without a problem. They were written by the Application Vendor, so even if putting in a Collate statement resolves the problem, the procedures would then become unsupported.

The only thing I can think of is to get a completely new server, install MSSQL with the exact same Collation, and restore the db onto there and test. Only thing is that this DB has gone into production, so they're not going to be keen.

Are there any alternatives, or would I have to start afresh with a new install?

Question by:Beeb_Hogweed
  • 2
LVL 14

Accepted Solution

twoboats earned 600 total points
ID: 19662291
Rebuild the master database with the original collation.

Author Comment

ID: 19662342
In this case, that means installing SQL Server fresh, as there are other DB's on this instance. It was a case of them being cheapskates not getting a separate server for this DB. I'll install afresh with the same collation and try again.

LVL 14

Expert Comment

ID: 19662357

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

867 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