How *not* to handle a compensation step on failure in an SSIS package

Posted by James Luetkehoelter on SQL Blog See other posts from SQL Blog or by James Luetkehoelter
Published on Thu, 17 Jun 2010 20:24:00 GMT Indexed on 2010/06/17 21:34 UTC
Read the original article Hit count: 362

Just stumbed across this where I'm working. Someone created a global error handler for a package that included this SQL step: DELETE FROM Table WHERE DateDiff(MI, ExportedDate, GetDate()) < 5 So if the package runs for longer than 5 minutes and fails, nothing gets cleaned up. Please people, don't do this... Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it!...(read more)

© SQL Blog or respective owner

Related posts about ssis

Related posts about What were you thinking?