时间:2021-07-01 10:21:17 帮助过:4人阅读
这是死锁引起的,执行以下语句
select *
from master..SysProcesses
where db_Name(dbID) = ‘数据库名‘
and spId <> @@SpId
and dbID <> 0
and blocked >0;
得到结果:
| spid | kpid | blocked |
| 59 | 760 | 339 |
| 95 | 26224 | 285 |
| 225 | 27444 | 285 |
| 285 | 7248 | 339 |
| 318 | -31804 | 285 |
版权声明:本文为博主原创文章,未经博主允许不得转载。
sqlserver 已超过了锁请求超时时段 1222错误
标签: