摘要: 转自:http://blog.51cto.com/jimshu/1619024 在还原数据库时,可能遇到“Exclusive access could not be obtained because the database is in use”错误。 很多时候这是一个经常遇到的错误,这是因为我们在 阅读全文
posted @ 2018-11-02 16:24 郭大侠1 阅读(756) 评论(0) 推荐(0) 编辑
摘要: --运行以下脚本,清除当前的所有进程 declare @sql as varchar(20), @spid as int select @spid = min(spid) from master..sysprocesses where dbid = db_id('<database_name>') 阅读全文
posted @ 2018-11-02 16:23 郭大侠1 阅读(386) 评论(0) 推荐(0) 编辑