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,721 reads

Blogs

2020 Advent of Code–Day 1

By

This series looks at the Advent of Code challenges. I started the Advent of...

Server Review Essentials for Accidental and Junior DBAs—Setting Up (Part 2)

By

Welcome back to my Server Review Essentials for Accidental and Junior DBAs series. Last...

One Chart at A Time Video Series

By

Jon Schwabish over at PolicyViz has created great initiative called the One Chart at...

Read the latest Blogs

Forums

How to find index usage by stored procedure?

By SQL Guy 1

Hi all, We have 2 DMV's: sys.dm_db_index_usage_stats sys.dm_exec_procedure_stats And they don't look they can...

Odd things with Report Builder (also tried VS 2019)

By kevlray

This is kinda hard to explain, maybe I can make sense of it. So...

PBM policy to check empty passwords

By Lou

Dear friends, Please, could you give me some ideas, how to implement SELECT count(*)...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers