Groups | Blog | Home
all groups > sql server (alternate) > february 2004 >

sql server (alternate) : Importing into Test Database


contactjustinallen NO[at]SPAM hotmail.com
2/13/2004 6:29:24 AM
SQL 2000, Windows 2000. I need to find a way to export our data from
our production database and import it into a test database. I can do
it to a freshly created test database I just have trouble doing it
once the test database is already populated. Is there a script I can
write that will automate it by
1) Deleting the test database
2) Creating a new one
3) Exporting the production tables and views
4) Importing into the new test database

What are my options here?

Simon Hayes
2/13/2004 7:01:53 PM

[quoted text, click to view]

See my reply to your previous post.

Simon

Dariush NO[at]SPAM realsoftstudio.com
2/17/2004 1:42:53 PM
[quoted text, click to view]

If you are looking to simply bring all the data over from the source
to the destination db, you may try to dump the tables to a sql file
and run the load on the destination db.

Also have a look at sqlporter database migration tool
from realsoftstudio.com

AddThis Social Bookmark Button