Solved

restore and upgrade SQL server from 6.5 to 7.0

Posted on 2004-08-04
7
584 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
[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
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 250 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 250 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to shrink a transaction log file down to a reasonable size.

732 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