i am developing a monitoring application which determines which transactions on the SQl server are hung. how can i know which applications are hung ? is there some particular API for this ?
You should have a look at Transaction Related Dynamic Management Views and Functions (Transact-SQL), notably sys.dm_tran_active_transactions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With