Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have SSIS package that I am trying to get data from a express server on one box and move it to a principal server and if the record is inserted in the principal server it must be deleted from the express server.

This operation is being done in a loop because data is being loaded from multiple express servers. So I have used a foreach loop and inside I placed a data flow control.

Inside the data flow I have a ole db source and an ole db command. I use the source to do a select on the express server to get the data and pass it to the ole db command which has a store procedure that inserts the records.

The sql command looks like

EXECUTE [Store Procedure] ?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?output.

I want to store that out put in a variable and at the end delete all the records from the source data express database as not to re import them at a later date. Is that possible or am i going about it the wrong way. Any help would be appreciated. Thanks in advance.
Posted
Updated 27-Mar-14 9:32am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900