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

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 DTS Help

Author  Topic 

kiran
Starting Member

30 Posts

Posted - 2004-09-07 : 17:56:31
I have to the following data synchronization task using DTS. Can anybody help me thru the steps please.

Source DB: DB1
Source Table: Product
Columns:
RowId
Name


Destination DB: DB2
Destination Table: Product
Columns:
Product_id
Product_Name
Source_RowID

These two databases are not identical and need to sychronize data.

How do I create the DTS Package
1) To update the Destination table with the new products added
2) To delete the rows that were deleted in the source
3) Update Product name if changed in the source db with the help of rowid

thanks in advance....

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2004-09-07 : 18:00:17
Why not use replication instead?

Tara
Go to Top of Page

hgorijal
Constraint Violating Yak Guru

277 Posts

Posted - 2004-09-08 : 01:50:01
replication is the way to go. If they are the same server, you might try triggers.

Hemanth Gorijala
BI Architect / DBA
Go to Top of Page

ravilobo
Master Smack Fu Yak Hacker

1184 Posts

Posted - 2004-09-08 : 12:51:33
I will go for merge replication...

------------------------
I think, therefore I am
Go to Top of Page
   

- Advertisement -