Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

sp_what

By Andrew Stanton,

This is a replacement for SP_who and modification of sp_who2.

It will always list only active, nonsystem processes, and will list the number of seconds a transaction has been running for. Some transactions do not report a last batch time, so I forced a large value to display so you can see any issue with that transaction. Its sorted by spid, so you can se more easily whats blocking, and the columns are arranged to fit all info better on the screen (1280x1024).

Total article views: 1990 | Views in the last 30 days: 8
 
Related Articles
FORUM

Begin transaction ........... commit transaction

Begin transaction ........... commit transaction

FORUM

uncommited transactions

uncommitted transactions

FORUM

Named Transactions

Named Transactions

FORUM

Transaction details

Transaction details

FORUM

Begin transaction and commit transaction

Begin transaction and commit transaction

 
Contribute