摘要: 无法获得数据库 'model' 上的排他锁,搜索结果:解决方法:在查询分析器中运行如下代码即可:declare@sqlvarchar(100)while1=1beginselecttop1@sql='kill'+cast(spidasvarchar(3))frommaster..sysprocesseswherespid>50andspid<>@@spidif@@rowcount=0breakexec(@sql)end 阅读全文
posted @ 2011-06-23 10:42 IT-民工 阅读(204) 评论(0) 推荐(0)