Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

AUto-renaming mdf & ldf filenames when restoring a database with SQL Management Studio

$
0
0

Hi!

I am using SQL Management Studio 2014 and I am experiencing some problems when restoring a database backup.

I have a SQL Server 2008R2 & SQL Server 2012 instances.

On the 2012 instance, when I restore a database and rename it into a new name, the mdf and ldf files get automatically renamed into the new database name : Great, this is the behavior that I expect.

On the 2008R2 instance, the mdf and ldf files don't automatically get renamed to match the new database name and I have to perform the renaming manually - pretty annoying.

Has anybody experienced this problem ? If yes, do you know of a fix ?

Thank you

Frederic


Viewing all articles
Browse latest Browse all 7129

Trending Articles