Re: How long has transaction been open?
From: Sebastian K. Zaklada (szaklada-dont-like-spam_at_skilledsoftware.com)
Date: 02/26/04
- Next message: Adam Machanic: "Re: Creating & Maintaining Demo Database"
- Previous message: Russell Fields: "Re: SQL agent jobs fail after upgrading windows2000 to windows2003"
- In reply to: Mike: "How long has transaction been open?"
- Next in thread: Mike: "How long has transaction been open?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 26 Feb 2004 22:35:06 +0100
> Does anyone know how to determine how long an open
> transaction hase been open? None of the columns in
> sysprocesses seem to provide that.
See DBCC OPENTRAN, it displays information about the oldest active
transaction and the oldest distributed and nondistributed replicated
transactions, if any, within the specified database.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsqlref/ts_dbcc_5fhq.asp
sincerely,
-- Sebastian K. Zaklada Skilled Software http://www.skilledsoftware.com This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: Adam Machanic: "Re: Creating & Maintaining Demo Database"
- Previous message: Russell Fields: "Re: SQL agent jobs fail after upgrading windows2000 to windows2003"
- In reply to: Mike: "How long has transaction been open?"
- Next in thread: Mike: "How long has transaction been open?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|