SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 error while restore database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ibharadia
Starting Member

2 Posts

Posted - 11/12/2012 :  11:48:45  Show Profile  Reply with Quote
hi guys,
have sql 2005 ent. Have a backup of the database and when i am trying to restore it, it brings up an error "the backup set holds a backup of a database other then the existing "xxxx" database"

Please assist

tkizer
Almighty SQL Goddess

USA
35954 Posts

Posted - 11/12/2012 :  14:22:12  Show Profile  Visit tkizer's Homepage  Reply with Quote
Use WITH REPLACE. Believe that'll eliminate the error. Might also need to use MOVE.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

ibharadia
Starting Member

2 Posts

Posted - 11/13/2012 :  00:32:58  Show Profile  Reply with Quote
Thanks tkizer. It worked.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000