I can't get my DTS to fail, so here's my question to you: Are there tasks in a DTS that can cause a fail to be overridden?
For instance:
-a DTS package with a single SQL task in it with only the SQL statement:
RAISERROR ('FailThis', 16, 1)
..will fail the package nicely: I get a big red X, the message "FailThis" and the package stops execution.
But, the package with which I'm working, which has many twists and workflows in it, should fail on that same step as well, but it does not. Nor will it stop on the first task to get executed when explicitly I add to the SQL statement an error raise:
/* existing SQL: */
Select * from EDITask
where TaskName = 'DataExport';
/* added error raise */
RAISERROR ('BroniError', 16, 1)
Rather than failing, the thing just executes along its merry way, never missing a beat.
Any ideas?? Any experience with this to help me go in a general direction (besides over the edge)??
For instance:
-a DTS package with a single SQL task in it with only the SQL statement:
RAISERROR ('FailThis', 16, 1)
..will fail the package nicely: I get a big red X, the message "FailThis" and the package stops execution.
But, the package with which I'm working, which has many twists and workflows in it, should fail on that same step as well, but it does not. Nor will it stop on the first task to get executed when explicitly I add to the SQL statement an error raise:
/* existing SQL: */
Select * from EDITask
where TaskName = 'DataExport';
/* added error raise */
RAISERROR ('BroniError', 16, 1)
Rather than failing, the thing just executes along its merry way, never missing a beat.
Any ideas?? Any experience with this to help me go in a general direction (besides over the edge)??