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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

exit dts

Status
Not open for further replies.

fmardani

Programmer
Jul 24, 2003
152
Half way through a dts, there is a task that runs a sp
Based on the result of this sp, I would like to exit from the dts half way through it.
Thanks
 
Use an ActiveX script to connect to the database and run the stored procedure. Capture the result of the stored procedure. Use scripting to pass or fail the step based on the stored procedure result. Use a workflow connection On Success to the next step of the DTS package.

I have probably left some details out, but that's the basics I think. Good luck!

--Angel [rainbow]
-----------------------------------
Behold! As a wild ass in the desert
go forth I to do my work.
--Gurnie Hallock (Dune)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top