Rename SQL Azure database?

后端 未结 7 1104
南旧
南旧 2020-12-08 09:04

How can i rename the database in sql Azure?

I have tried Alter database old_name {MODIFY NAME = new_name} but not worked.

Is this feature avail

7条回答
  •  醉梦人生
    2020-12-08 09:23

    Connect with SQL Server Management Studio to your Azure database server, right-click on the master database and select 'New Query'. In the New Query window that will open type ALTER DATABASE [dbname] MODIFY NAME = [newdbname].

提交回复
热议问题