Yesterday I was debugging some SQL Server transaction logic, and came across the following handy command to see which transactions are running:
SELECT * FROM sys.dm_tran_session_transactions
Copyright © 2003-2010 Falafel Software Inc.
The opinions expressed herein are Falafel's employees own personal opinions and do not represent Falafel Software's view in any way in case they go bananas!