SQL SERVER – 2005 -Track Down Active Transactions Using T-SQL

Just a day ago, I was wondering how many active transaction are currently in my database. I found following DMV very useful – very simple and to the point.

Following SQL will return currently active transaction.

SELECT *
FROM
sys.dm_tran_session_transactions

Reference : Pinal Dave (https://blog.sqlauthority.com)

SQL Scripts, SQL System Table, SQL Transactions
Previous Post
SQL SERVER – Introduction to Log Viewer
Next Post
SQL SERVER – DBCC SHRINKFILE Takes Long Time to Run

Related Posts

Leave a Reply