Named Transactions

  • I'm having a discussion with some people at work at wanted some input for you sql masters.

    Is there a benefit to naming a sql transaction? other than being able to roll it back to a marker.

    Thanks

    -WM

  • It can be useful for troubleshooting. You can see the transactions by name if you select sys.dm_tran_active_transactions.

    "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

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply