Jun
21

Micorosoft SQL Server, Error:3154

Author andy18    Category SQL-related     Tags

The following errors pop up today when I was trying to restore a database for a user in SQL 2005.

The backup set holds a backup of a database other than the existing database. RESTORE DATABASE is terminating abnormally. ( Micorosoft SQL Server, Error:3154)

You may get the backup restored using the following T-SQL

RESTORE DATABASE [DBName] FROM DISK = N’C:\DBBackup.bak‘ WITH FILE = 1, REPLACE,STATS = 10

Post comment