If your tables are locked in SQL SERVER using some SSIS or SSRS or some other tools.
For unlock we need to kill process id from sql server .
if your table is locked then SPID=-2 stored in syslockinfo table .
you can't delete directly this process id (SPID=-2)
use this query and kill whatever you got from this query result.
select req_transactionUOW
from master..syslockinfo
where req_spid = -2
KILL '010C2764-C765-7168-854X-5475A5D789S3'
Thx,
RS
For unlock we need to kill process id from sql server .
if your table is locked then SPID=-2 stored in syslockinfo table .
you can't delete directly this process id (SPID=-2)
use this query and kill whatever you got from this query result.
select req_transactionUOW
from master..syslockinfo
where req_spid = -2
KILL '010C2764-C765-7168-854X-5475A5D789S3'
Thx,
RS
No comments:
Post a Comment