转载自:http://www.cnblogs.com/adandelion/archive/2006/09/30/519534.html
今天在sqlServer20005 的management studio里使用bak文件还原数据库的时候,总是失败!
Restore failed for Server 'ADANDELI'. (Microsoft.SqlServer.Smo)
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo
The backup set holds a backup of a database other than the existing 'AAA' database.
RESTORE DATABASE is terminating abnormally. (Microsoft SQL Server,错误: 3154)
找不到原因(已经选择了"overwrite the existing database"),只能使用命令来还原了,不知道为什么会这样.
Feedback
用sql server 2005還原也可以
之前也是碰到一樣的問題
原來是 overwrite 的選項沒有被勾...
來源裝置選定後
選擇還原
在按確定之前 先到選項 把overwrite 目標資料庫的選項勾起
最後在執行還原就可以了!
回复
之前也是碰到一樣的問題
原來是 overwrite 的選項沒有被勾...
來源裝置選定後
選擇還原
在按確定之前 先到選項 把overwrite 目標資料庫的選項勾起
最後在執行還原就可以了!
回复