Quantcast
Channel: Welcome To TechBrothersIT
Viewing all articles
Browse latest Browse all 1957

SQL DBA Posts - How to rename Logical Files of a SQL Server database?

$
0
0
There are couple of easy ways described below to rename logical files of a SQL Server Database.


Method 1

                  USEmaster;

GO
ALTERDATABASE sqlage_test
MODIFYFILE ( NAME =SqlAge_Test,NEWNAME=SqlAge_modified_test)


Method 2

1-      Right click on the database that you would like to rename files of and go to properties

2-      Click on File

3-      Click on Logical File Name and renaming it

4-      Click on Ok
Fig 1 - How to rename SQL Server Database Logical Files
Fig 2 - How to rename SQL Server Database Logical Files

Viewing all articles
Browse latest Browse all 1957

Trending Articles