SQL-Server: Error - Exclusive access could not be obtained because the database is in use

后端 未结 14 2658
隐瞒了意图╮
隐瞒了意图╮ 2020-12-12 17:45

I am actually trying to make a script (in Sql Server 2008) to restore one database from one backup file. I made the following code and I am getting an error -



        
14条回答
  •  一生所求
    2020-12-12 18:26

    1. Set the path to restore the file.
    2. Click "Options" on the left hand side.
    3. Uncheck "Take tail-log backup before restoring"
    4. Tick the check box - "Close existing connections to destination database".
    5. Click OK.

提交回复
热议问题