One of my developers has used the T-SQL command SET XACT_ABORT ON (which I confess I was unfamiliar with) in his stored procedures. I have reason to believe that the transaction is failing, for one reason or another, to store the data. In looking at his code he had a statement like this:
BEGIN TRANSACTION
SET XACT_ABORT ON
However, in looking at the online help, they had the sequence of statements like this:
SET XACT_ABORT ON
BEGIN TRANSACTION
My question is, does it matter?