Click here to Skip to main content
15,891,708 members
Articles / Database Development / SQL Server / SQL Server 2008

Rename a Database and its MDF and LDF files in SQL Server

Rate me:
Please Sign up or sign in to vote.
5.00/5 (18 votes)
13 Mar 2012CPOL1 min read 257.3K   11  
This tip shows how to rename a database and its MDF and LDF files in SQL Server.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
United States United States
I got my BS in Software Engineering from Iran, worked there for 4.5 years mainly in industrial automation field. Then I moved to Australia. In Australia, I had a great chance to work at some big companies. Since 2009 I have been living in the States. I received my MS in Information Systems from Illinois State University. Currently, I am a Senior Software Development Engineer.

Comments and Discussions