Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

restore and upgrade SQL server from 6.5 to 7.0

Posted on 2004-08-04
7
Medium Priority
?
596 Views
Last Modified: 2011-10-03
I am wanting to restore a DB from a dump from a SQL 6.5 server to a test SQL 6.5 server  then I will upgrade the SQL 6.5 server to a SQL 7. so that we can more easily migrate our data without potentially harming our data in our 6.5 db.  when trying to restore the DB I run into the following error.

The database you are attempting to load was dumped under a different sort order ID (42) than the one currently running on this server(52) and at least one of them is a non-binary sort order.

Yeah that pretty much does it. If there is a smarter way to do this I am totally up for it.
0
Comment
Question by:mannyinsj
  • 2
  • 2
7 Comments
 
LVL 4

Expert Comment

by:Greg Rowland
ID: 11721600
The way I have done this before is to;
1)      Create a full backup of the source database.
2)      Create a database by the same name on the target server and perform a full backup.
3)      Overwrite the target backup with the source backup.
4)      Restore the source backup to the target machine.

It’s sort of tacky but it typically works. I have even done this with different versions of SQL Server.
0
 
LVL 1

Author Comment

by:mannyinsj
ID: 11721681
yeah I think the problem was that that the sort order was different. we just tried reinstalling the the SQL 6.5 software and found that we could change the sort order and the code pages chosen. Waiting for master to regenerate.  So now if anyone has a good idea how to upgrade a 6.5 db to a 7.0 other than the process I am already undergoing I would appreciate hearing it.
0
 
LVL 4

Accepted Solution

by:
Greg Rowland earned 1000 total points
ID: 11721867
0
 
LVL 34

Expert Comment

by:arbert
ID: 11722096
In 6.5 You CAN'T restore the database unless the sortorder is the same.  You'll have to change the sort order and then restore...
0
 
LVL 34

Assisted Solution

by:arbert
arbert earned 1000 total points
ID: 11722106
Sorry, see you figured that out.  The upgrade from 6.5 to 7.0 totally changes your database server (no way around it).  So, make sure you have a backup to fall back to if needed.  This is about the only option you have.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

963 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