Link to home
Start Free TrialLog in
Avatar of mainrotor
mainrotor

asked on

How do I check or remove locks from SQL Server

Hi experts,
How do you check for, and remove locks in SQL Server 2008 R2?


Thanks in advance,
mrotor
Avatar of Kanti Prasad
Kanti Prasad

Hi

To check for lock you can look at the store procedures sp_who & sp_lock
ASKER CERTIFIED SOLUTION
Avatar of Deepak Chauhan
Deepak Chauhan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Can you be more precise on what you want to do?
There are few ways to check and prevent locks.
What you mean with remove locks? Tuning the query to prevent future locks or kill the blocking process?