Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Event Handling for executed iterative stored procedure

$
0
0

Hi guys,

I'm currently working on an event handler for a SQL task. This task executes a stored procedure which iterates through a table and inserts each row into another. I need the handler to revert erroneous rows to a log table I created. I've done this using INSERT INTO statement. What I'm concerned about is that I want the iterative stored procedure to continue until the last row after each handler is raised. I'm concerned the procedure and thus the package will stop altogether after the handler is raised. Is there some way I can ask the handler to continue execution of the stored procedure from where the last row it left off?

Hope this makes sense.

Thanks,

Jared.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>