Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 Copy objects from one database to another
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

95 Posts

Posted - 01/23/2014 :  09:38:21  Show Profile  Reply with Quote
Hi All,

I have two database xyz and abc in the same instance of SQL Server 2000 on the same server.

The only difference is that the target database (xyz) has a few objects (tables, indexes, sps, view, logins) more than the other that is database abc.

When I use DTS and schedule to copy all objects from abc to xyz the operation deletes the additional tables and objects from xyz.

What could be the cause. Can I acheive it programmatically. If so how?

Starting Member

47 Posts

Posted - 01/28/2014 :  08:58:32  Show Profile  Reply with Quote
You can compare the system tables to find what objects don't exist then copy them to another database only to copy back when you're done.
Alternately you can create a staging database.
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000