Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Restoring DATABASE AND Overwriting Db (which has different name/files)

$
0
0
I have one database.School_Area which has mdf and ldf file school.mdf and school.mdfon another instance/server i have another database : classes and i took full backup of that database , classes.bak and move to the serverand try to restore that classes database in a way it will over write contents of school_area database and replace mdf/ldf file with classes db.i do not want to change the name school_area but i want that db to be refresh with classes db.how can i do that ?when i tried regular ssms with replace, it give me error message saying it is in use.

Viewing all articles
Browse latest Browse all 6525

Trending Articles