Rename a Database

This topic describes how to rename a user-defined database in SQL Server 2012 by using SQL Server Management Studio or Transact-SQL. The name of the database can include any characters that follow the rules for identifiers.