Renaming a Database
In SQL Server, you can change the name of a database. Before you rename a database, you should make sure that no one is using the database and that the database is set to single-user mode. The name of the database can include any characters that follow the rules for identifiers.
To Rename a Database