Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

restore and upgrade SQL server from 6.5 to 7.0

Posted on 2004-08-04
7
Medium Priority
?
589 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 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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 part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

670 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