Solved

copy database wizard vs import and export wizard

Posted on 2006-11-22
7
417 Views
Last Modified: 2008-02-01
Hi
I would like to know what is the best way to copy the tables from production db to development while leaving the db intact in the production server.
Also would like to know the main difference between import export wizard and copy database wizard in sql server 2000 and 2005

thanks
0
Comment
Question by:atwork2003
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 75

Assisted Solution

by:Aneesh Retnakaran
Aneesh Retnakaran earned 50 total points
Comment Utility
If you just need to copy the data, then use IMPORT/EXPORT wizard,
0
 
LVL 20

Accepted Solution

by:
Sirees earned 400 total points
Comment Utility
If you need to copy only data use import export wizard

If you want to copy both objects and data ->use copy database wizard
0
 
LVL 20

Expert Comment

by:Sirees
Comment Utility
<< best way to copy the tables from production db to development while leaving the db intact in the production server>>

Another alternative is to backup the database and restore it on developemnt environment
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:atwork2003
Comment Utility
can I save the copydatabase wizard process stored as dts package and do some sql quering against the data using tsql task.

Also when u say database odject that include table , rows and column and I want to import that but not neccessary the storeprocs, trigers etc.
thanks
0
 
LVL 28

Assisted Solution

by:imran_fast
imran_fast earned 50 total points
Comment Utility
>>can I save the copydatabase wizard process stored as dts package and do some sql quering against the data using tsql task

You can do it! but what if the destination already have the database with this name.

Copy database will copy the exact database to the new server you cannot select part of it.like only tables or only stored procedures.
0
 

Author Comment

by:atwork2003
Comment Utility
can I use import export wizard for this task and store the package. I will like to make specific changes to the data using tsql in import export wizard.
Thanks
0
 
LVL 28

Expert Comment

by:imran_fast
Comment Utility
Yes you can use Import export for that.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

743 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now