Share via

Rename SQL Database in Azure

Heiwa Projet 20 Reputation points
2025-04-15T08:26:00.65+00:00

Hello,

I created a free Azure subscription, with a free SQL Database. The name was imposed MyFreeDB.
Then I took a S0 10 DTU subscription as an an upgrade of the SQL Database, on a free PAYASYOUGO subscription.

I tried to rename the SQL Database in SQL Server Management Studio, but then the database resource was no more available on Azure website, so I reverted to MyFreeDB. How can I rename this resource that is on the S0 plan without creating another one and take a new S0 plan?

Thanks,
Alain

Azure SQL Database

Answer accepted by question author

Stanislav Zhelyazkov 29,586 Reputation points MVP Volunteer Moderator
2025-04-15T08:46:38.17+00:00

Hi,

Unfortunately, renaming resources in Azure is not allowed. The name is part of the resource ID of the resource which is unique across all resources in all tenants. Only option is to re-create the database. If you have data you will need to restore from backup the data.

Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.