Hello Matt,
It works for me. For the SQL Statement I entered RAISERROR('This is an Error',16,1).
Is this package Vanilla?
Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com
Quote:
When executing a sql task, how do you get the failure constraint to be
tripped? I want an email to be sent when a sql script is not
successfully executed, but the package just seems to end and never
executes the send mail task. I've tried using RAISERROR() but that
doesn't seem to work either. When the task successfully executes the
success constraint works perfectly fine. Thanks for any help. |