Follow this steps to UNLOCK the sql table which has been LOCKED by some other process/script.
1. sp_lock --Run this
2. sp_who2 --Run this
3. Look for Status column and the DBName column.
4. Get the session Id from SPID.
5. Kill <SPID> --Run this
No comments:
Post a Comment