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

Forcing a failure for an execute SQL task - SSIS 2014-2016

$
0
0

Hi,

I'm trying to force manually a failure for an execute SQL task in order to trigger an OnError event managed with the related handler.

I've used a script task inside an OnProgress event handler by setting Dts.TaskResult to failure and also I've set the ForceExecutionResult to failure but in both cases unsuccessfully.

Now, how could I try the right behaviour about the OnError event handler of my execute SQL task?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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