1>select top 1 id from sysobjects where name='tblName'可以查出表的Objectid
2>再exec sp_lock 就可以找到 spid
3>再kill spid 解锁
posted on 2010-03-22 17:00 masterfy 阅读(1828) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 masterfy Powered by .NET 9.0 on Kubernetes