--检查SQLServer 锁情况
create table #test(
spid smallint,
dbid smallint,
ObjId int ,
IndId smallint ,
type nchar(4) ,
Resource nchar(16),
Mode nvarchar(8) ,
Status nvarchar(8)
)
insert into #test exec sp_lock
from #test a, sysobjects b
where a.objid=b.id and b.type='U'
drop table #test
发表于 @ 2007年08月21日 14:17:00 | 评论( loading... ) | 举报| 收藏