I need T-SQL to count Count All incomplete SQL Transactions running on database in another way I need to count all current sql transactions runnging right now on sql server instance.
I hope if I explained well what I need ?
thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
OK, I think I meant
sys.dm_tran_active_transactions:Original Post:
As shown on this post here: SQL SERVER – 2005 -Track Down Active Transactions Using T-SQL
This is for active transactions on the currently selected database. See
sys.dm_tran_session_transactions.