The
ALTER DATABASE
SQL command is executed with the RENAME TO clause when
renaming a database.
To rename a database:
In the navigation panel, go to Databases.
(Optional) To display system databases, turn on Show system databases.
Click →
Rename next to the database.
Specify the new database name.
Click Save.