![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I've the following task: Need to copy data from ServerA and from 5 tables to another ServerB at regular intervals or on demand. We need to transfer based on some condition. Both are SQL Servers. The data collected from ServerA has to go to 3 different tables in ServerB. There are some join keys on ServerA (table joins). This task has been accomplished using a stored procedure. But I'm exploring the possibility of doing it thru DTS. How can the following tasks can be accomplished using DTS? 1) I need to handle errors at each insertion into the destination tables. How can I do this? 2) How can I handle Cursor operations using DTS? 3) Before inserting into the destination tables, I need to verify for duplicates. If record already exists, I need to insert in another table and leave it for manual verification. How can I handle this? 4) Once the inserts are successfully done, I need to update another table with 'status updated'. Can anybody explain how the above tasks can be accomplished using DTS, in particular cursor op? Thanks much for any inputs, ideas etc.. Siva. |
![]() |
| Thread Tools | |
| Display Modes | |
| |