SQL SERVER-Exclusive access could not be obtained because the database is in use. (Microsoft.SqlServer.SmoExtended)

Q:先在一个实例中恢复一个数据A,然后又想在恢复一次,取别名为A2,这是报异常SQL SERVER-Exclusive access could not be obtained because the database is in use. (Microsoft.SqlServer.SmoExtended)

 

A:先将A offline,然后恢复A2,完成后在bring online。

posted @ 2019-07-08 16:34  JinweiChang  阅读(1102)  评论(0编辑  收藏  举报