Error - "The backup set holds a backup of a database other than the existing database" during the
说明
Error received when restoring a database over an existing database with the same name:
"Error: 12300, Msg: SLS::ExecSQL -> user exception" "Error: 12300, Msg: SLS::execSQL -> End execute with unsuccessfull return code" "Msg 62309, Level 19, State 1, Line 1 SQL Server has returned a failure message to LiteSpeed 2005 which has prevented the operation from succeeding." "RESTORE DATABASE is terminating abnormally. The backup set holds a backup of a database other than the existing 'database_name' database."
原因
The SQL Server 'replace' parameter is missing from the script.
解决办法
This error message is not a LiteSpeed 2005 message. Refer to SQL Server books online or Microsoft technical support for a solution.
Refer to Microsoft Forums "How to restore SQL 2000 DB to SQL 2005", for additional information: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=350077&SiteID=1.