SQL Sort Order ID error

I did a database full backup of Db_1 on "Server_1" to file. I then attempted to do a database restore using this file to another database Db_1 on a remote server "Server_2".

I got the follwoing error:
"The database you are attempting to restore was backed up under a differnet sort order ID (49) than the one currently running on this server(52), and at least one of them is  a non-binary sort order. Backup or Restore operation treminating abnoramally"

Is there a way to fix this sort order problem?

The database Db_1 in Server_2 is still under development, so I have the freedom of experimenting with it. On the other hand,  Db_1 in Server_1 is online and I can not touch.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


This is an unfortunate limitation of SQL 6.5 and SQL 7 environment where a server has a fixed sort order, and you can't restore a DB of a different sort order to it.


1) Build/Rebuild Server_2 a SQL 2000 server, and restore Db_1 to this, as you can restore a database with any Sort order in SQL 2000 (now called collations)

2) Keep Server_2 as SQL7 but rebuild it as Sort Order 49. This can be done using the rebuildm utility.
(Do a search on SQL7 BOL for sp_helpsort and rebuildm to help you.)

Hope this helps,


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
novice12Author Commented:

I am likely to go with the first option. I don't have SQL 2000, but I will look into buying it.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.