Restoring a SQL Server database


I'm trying to restore a database from a file saved on a different server.
When I hit restore I get:
The database you are attempting to load was dumped under a different sort order ID(50) than the one currently on this server(52) and at least one of them is a non binary sort order.

How do I restore my database?
davidcawkwellAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
You need a separate NT Server machine on which you install SQL Server, choosing BINARY SORT ORDER during Setup, as this setting can ONLY be set during this moment.

On this brand new SQL Server you can restore your database, in order to back it up again (the backup file will then contain the BINARY SORT ORDER indication.

Use this new backup to restore in on the SQL Server you wanted to restore your database initally.
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
You need a separate server where your Sort Order is BINARY SORT ORDER.
There you restore your database, back it up again and use that backup to restore at your destination server.
0
 
davidcawkwellAuthor Commented:
Dont understand.
What do I have to do to get this to work? On either server?
How do I change the sort order?
0
 
jboydCommented:
You have to reinstall SQL Server on one of the servers with the matching sort order. Here is a quote from the online books, in a section titled "Before Installing: Checklist", "Select a character set, sort order, and Unicode collation. If you need to change any of these later, you must rebuild the databases and reload the data. It is recommended that you develop a standard within your organization for these options. Many server-to-server activities may fail if the character set, sort order, and Unicode collation are not consistent across servers. " If you do not want to re-install and the database is fairly small, you could script out the database and BCP the data, or use DTS to move the database.
0
 
davidcawkwellAuthor Commented:
That's done it.
0
All Courses

From novice to tech pro — start learning today.