atricapilla
atricapilla

Reputation: 2630

Rename database files: drop tables?

I would like to rename database files (.mdf ja .ldf) in SQL Server. Do I have to drop all tables from the database before that?

Upvotes: 0

Views: 147

Answers (2)

gbn
gbn

Reputation: 432261

No.

To rename database and files..

Upvotes: 3

Crimsonland
Crimsonland

Reputation: 2204

No, Just Right click the Database name and choose Rename.

Upvotes: 0

Related Questions