Back
Does anyone know of any way to list open transactions on the SQL Server 2000 database?
I am aware that I can query the view sys.dm_tran_session_transactions on SQL 2005 (and later) database versions, however, this is not available on SQL 2000.
For all databases, you can use sys.sysprocesses query like this:
SELECT * FROM sys.sysprocesses WHERE open_tran = 1
For the current database, try this:
DBCC OPENTRAN
31k questions
32.8k answers
501 comments
693 users