How to copy 6.5 database to 7.0 installation not in same physical location

How to copy 6.5 database to 7.0 installation not in same physical location

Post by Barry Cunningha » Fri, 31 Mar 2000 04:00:00



I could sure use some help with this one.  My client is running SQL 6.5.  I
need to replicate his database on my home development machine (SQL 7) in
order to create some reports.  Being fairly new to SQL server, I created a
full backup to a .dat file at the client site.  Is there any way to get this
database into my SQL 7 environment????  Upgrading the client to 7.0 is not
an option.
 
 
 

How to copy 6.5 database to 7.0 installation not in same physical location

Post by Neil Pik » Fri, 31 Mar 2000 04:00:00


Barry - this doesn't work

Quote:> I could sure use some help with this one.  My client is running SQL 6.5.  I
> need to replicate his database on my home development machine (SQL 7) in
> order to create some reports.  Being fairly new to SQL server, I created a
> full backup to a .dat file at the client site.  Is there any way to get this
> database into my SQL 7 environment????  Upgrading the client to 7.0 is not
> an option.

Q.     Can I load a SQL 6.5 dump or device file into SQL 7?

A. No and no.

If you have a SQL 6.5 dump file then you will have to load it into a SQL 6.5 server
first.

If you have a device file then you will have to install SQL 6.5 and then DISK REINIT
and REFIT (details in the books online) it into SQL 6.5.

The ONLY ways to transfer SQL 6.x databases into SQL 7.0 are :-

1.  Use the Upgrade Wizard.  This is the best option.  It requires a running SQL 6.5
system to extract from.

2.  Use the DTS object copy tools in SQL 7.0 to copy objects from SQL 6.5.  Note this
doesn't copy defaults/constraints etc.

3.  Script the SQL 6.5 database using SQL Enterprise Manager scripting.  Re-create it
using the script on SQL 7.0.  Use BCP to copy the data.

===

v1.00 1999.05.17
Applies to SQL Server versions  : 7.0
FAQ Categories                  : Installation and Upgrades
Related FAQ articles            : n/a
Related Microsoft Kb articles   : n/a
Other related information       : n/a
Authors                         : Neil Pike

 Neil Pike MVP/MCSE.  Protech Computing Ltd
 (Please reply only to newsgroups)
 SQL FAQ (428 entries) see
 forumsb.compuserve.com/vlforums/UK/default.asp?SRV=MSDevApps (sqlfaq.zip - L7 - SQL
Public)
 or www.ntfaq.com/sql.html
 or www.sql-server.co.uk
 or www.mssqlserver.com/faq

 
 
 

How to copy 6.5 database to 7.0 installation not in same physical location

Post by David Keirn » Fri, 31 Mar 2000 04:00:00


The easiest way is to get your machine over to the client's office and just
use the import wizard (DTS).
 
 
 

How to copy 6.5 database to 7.0 installation not in same physical location

Post by Barry Cunningha » Fri, 31 Mar 2000 04:00:00


Thank you thank you.  I have posted this question in seveal places and your answer was, by far, the most informative.  Generating scripts to create the database and transfering the data sounds like the most workable solution - or, folling the advice of another reply, take my laptop with 7.0 installed to the client and use the DTS import wizard.

Thanks again.

* Sent from Devdex.com http://www.devdex.com The Web Developers Index *
The world's largest index site for Microsoft web technologies.

 
 
 

How to copy 6.5 database to 7.0 installation not in same physical location

Post by Barry Cunningha » Fri, 31 Mar 2000 04:00:00


Thanks for the reply.  If I can get the client to setup a network login for me, this may just be the best way to get the job done (especially since I have 7.0 installed on my laptop).

* Sent from Devdex.com http://www.devdex.com The Web Developers Index *
The world's largest index site for Microsoft web technologies.

 
 
 

1. Change Physical Location of database.DAT in SQL 6.5

Hi all,

I have a database that is located in the first disk in a server.

c:\mssql\data\db.dat

I need to move this database to other disk (faster and bigger than the
first) located on the same server

f:\data\db.dat

It is posible to make this kind of operation in SQL Server 6.5

I don't see any options in the Enterprise Manager to do this operation.

TIA

Giovanni

2. select count(*) and select * return incoherent result

3. Copy all tables in SQL 7.0 database to SQL 6.5 using DTS/VB

4. Import from Oracle to Infromix or Vice versa

5. Copy all tables in SQL 7.0 database to SQL 6.5 using DTS

6. Linking tables with ODBC like in Access

7. Copying database from 6.5 to 7.0 over Net

8. Ad Hoc query (LONG POST)

9. Copy database from 6.5 to 7.0 over the net

10. RESTORE in sql7 different than 6.5 not copying database at all

11. How to move 6.5 database to 7.0 in different physical location.

12. physical database location