Solved

Restoring a SQL Server database

Posted on 2000-03-14
5
753 Views
Last Modified: 2010-08-05

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?
0
Comment
Question by:davidcawkwell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 2616364
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
 

Author Comment

by:davidcawkwell
ID: 2616413
Dont understand.
What do I have to do to get this to work? On either server?
How do I change the sort order?
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 50 total points
ID: 2616438
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
 
LVL 1

Expert Comment

by:jboyd
ID: 2616447
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
 

Author Comment

by:davidcawkwell
ID: 2616688
That's done it.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

751 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