In SQL Server, I am using the following command to see blocked sessions:
select * from sys.sysprocesses where blocked>0
This is super. The problem is I need to see what block sessions there were in the last 30 minutes. This isn't easy because, the blocked sessions can be come unblocked.can go a so they won't be returned by :
select * from sys.sysprocesses where blocked>0
Any ideas?
Thanks
