Renaming a Database - SQL Azure
Overview
¶
The
SP_RENAME
system stored procedure cannot be used to rename a SQL Azure database. This article provides the T-SQL statement to rename a SQL Azure database.
T-SQL Statement
¶
alter database [OldName] modify name = [NewName]