Show Blocking and Wait time

When executed against a database in which blocking occur, below script will report lockType, Object waited for and current Wait times. The script requires access to master..systables. The script queries syslockInfo (as does sp_lock), but further joins sysprocesses with an interpretation of waitresource matching SQL Server 7.0 and SQL Server 2000.

2002-01-14

2,478 reads

Blogs

SQL Prompt and SSMS 18.5

By

I downloaded SSMS 18.5, as there were a lot of fixes in here and...

Jupyter Book Challenges in ADS

By

I was excited to try the Jupyter Book feature in the March Azure Data...

Join me (virtually) in Adelaide!

By

I will be presenting a session to the Adelaide SQL Server User Group on...

Read the latest Blogs

Forums

Always on Availability Groups

By shamantha4

Can i configure a 2 Node AG Availability group in the same data(local site) ...

DB mail issue

By ramyours2003

We received error when testing the DBmail The mail could not be sent to...

Issue with case statement

By mcfarlandparkway

i have a table A where the data looks like ID        Name      Phone            CODE...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

ADF Triggers

See possible answers