| author | WilliamDAssafMSFT |
|---|---|
| ms.author | wiassaf |
| ms.reviewer | rotabor, alexwolf |
| ms.date | 05/11/2023 |
| ms.topic | include |
| ms.service | azure-sql-database |
When you are finished working with the Azure SQL Database, delete the resource to avoid unintended costs.
-
In the Azure portal search bar, search for Azure SQL and select the matching result.
-
Locate and select your database in the list of databases.
-
On the Overview page of your Azure SQL Database, select Delete.
-
On the Azure you sure you want to delete... page that opens, type the name of your database to confirm, and then select Delete.
Delete your database by using the az sql db delete command. Replace the placeholder parameters with your own values.
az sql db delete --name <database-name> --resource-group <resource-group-name> --server <logical-server-name>