Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15694

Active transactions

$
0
0

Hi,

when I use "select * from sys.dm_tran_active_transactions" and "select * from sys.dm_tran_session_transactions"

I get many rows in the output,

But if Use dbcc opentran(), it is not returning any row "

Output:

No active open transactions.

Please clear me this,

and also how can I find SPID or Session ID based in transaction_id


Viewing all articles
Browse latest Browse all 15694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>