111111



 Error 3154: The backup set holds a backup of a database other than the existing database.


Solution is very simple and not as difficult as he was thinking. He was trying to restore the database on another existing active database.


Fix/WorkAround/Solution:


1) Use WITH REPLACE while using the RESTORE command


2) Delete the older database which is conflicting and restore again using RESTORE command.


I understand my solution is little different than BOL but I use it to fix my database issue successfully.


3) Sample Example :

RESTORE DATABASE AdventureWorks

FROM DISK = 'C:\BackupAdventureworks.bak'

WITH REPLACE

No comments

Yorumunuz, incelendikten sonra paylaşılacaktır

Bu Blogda Ara

Öne Çıkan Yayın

Parallel Desktop Network Initialization Failed

 How to fix ? sudo -b /Applications/Parallels\ Desktop.app/Contents/MacOS/prl_client_app