EXEC sp_who active --看哪个引起的阻塞,blk blk<>0

--解锁表
declare @spid int
Set @spid = 274 --锁表进程
declare @sql varchar(1000)
set @sql='kill '+cast(@spid as varchar)
exec(@sql)

相关文章:

  • 2021-12-06
  • 2022-12-23
  • 2022-01-05
  • 2021-07-03
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-31
  • 2022-12-23
  • 2022-12-23
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案