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

x
?
Solved

Transfer SQL 7 db to SQL Server 2005 on different PC

Posted on 2011-03-17
3
Medium Priority
?
368 Views
Last Modified: 2012-05-11
I have a 9MB DB running on a local copy of MSSQL 7. I need to move this database to a SQL 2005 Server.

I don't have the SQL Enterprise Manager available for the SQL7 installation.

How can I transfer this database?
0
Comment
Question by:Chris Millard
  • 2
3 Comments
 
LVL 4

Expert Comment

by:LeDaouk
ID: 35155281
you can connect from the meicrosoft sql server management studio of sql 2005
0
 
LVL 4

Accepted Solution

by:
LeDaouk earned 2000 total points
ID: 35155289
also if the sql 7 has only this database and you want to stop it permanently :
stop the sql 7 service, then the database file will free, go to management studio and attach the databse by browsing the .mdf file.
0
 
LVL 4

Expert Comment

by:qasim_md
ID: 35155305
Run the BACKUP statement in the SQL server Management Studio in SQL 7 take the BACKUP and RESTORE it in the SQL 2005 server.

BACKUP Example:
Backing up a complete database

The following example backs up the AdventureWorks2008R2 database to a disk file.

BACKUP DATABASE AdventureWorks2008R2
 TO DISK = 'Z:\SQLServerBackups\AdvWorksData.bak'
   WITH FORMAT;
GO

did this help? let me know....
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

916 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