Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Updating SQL Tables from another DB

Status
Not open for further replies.

SWTpaul

Technical User
Nov 11, 2003
27
US
Our main box is an IBM iSeries which is used for all our business applications. I have been able to use DTS to copy the tables I want and push them into MS SQL Server.

The problem is, if I run the same DTS it will insert the same records into the tables, creating multiple records (that I don't want), rather than updating the data.

How can I get the DTS to update the records in the tables, rather than add/insert the same records everytime it is run?

Thanks!
 
Create a stored procedure that updates the data where needed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top