• Without seeing the error, it's hard to say. However, if you start a transaction and that transaction fails, you will get a rollback of that transaction.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning