SQL Practices

RDBMS Programming

SET XACT_ABORT – Use Caution with Explicit Transactions in Stored Procedures

Explicit transactions are often used within stored procedures to guarantee all-or-nothing data integrity. However, a little known fact is that a query timeout will leave the transaction open unless non-default session settings and/or special exception handling are used. I’ll describe how to protect your application from problems following timeouts and other unexpected errors.

Thanks to Dan Guzman

Download ; read the full article at:

July 5, 2008 - Posted by Philippe Almog | Transaction | , , | No Comments Yet

No comments yet.

Leave a comment