sp_lock2  = sp_lock +shows database and object name

sp_lock2 is similar to sp_lock, except that it displays the database name, object name and index name instead of the ids.  It accepts no parameters unlike the sp_lock procedure which can take an optional spid parameter. The basis for the main query which queries the system tables for lock info was taken from the sp_lock […]

4.5 (2)

2002-06-06

2,515 reads

Blogs

A simple powershell script to look up server hardware and OS information

By

This is a simple powershell script to query and display hardware and OS information...

Collecting Server Performance Metrics: Performance Monitor

By

Whether you’re a DBA/administrator looking to tune a server, planning for hardware updates, or...

Introduction to SQL Server Execution Plans

By

Watch this week’s episode on YouTube! I nearly always use execution plans as the...

Read the latest Blogs

Forums

Evergreen SQL Server

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Evergreen SQL Server

Do you really know what’s happening with your servers?

By Additional Articles

Comments posted to this topic are about the item Do you really know what’s...

Going from long to wide

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Going from long to wide

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers