How to delete SQL Server database from Azure Portal

CKP 1 Reputation point

Hi There,

I have created a MS SQL Server under my account in Azure Portal which I want to delete it now but when I try to delete the confirm delete button does not enable even after typing the database name correctly. Any idea how can I drop the MS SQL database via Azure Portal under all resources.



Azure SQL Database
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
11,592 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Rahul Randive 5,656 Reputation points Microsoft Employee

    Hi @CKP

    You would like to delete database from Azure SQL server.

    As you mentioned one option is to delete from the portal else you can also perform through SQL Server management studio.

    To delete a database

    1.     In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.

    2.     Expand Databases, right-click the database to delete, and then select Delete.

    3.     Confirm the correct database is selected, and then select OK.

    or Using Transact-SQL

    For more information, see DROP DATABASE (Transact-SQL).

    To delete a database

    1.     Connect to the Database Engine.

    2.     From the Standard bar, select New Query.

    3.     Copy and paste the following example into the query window and select Execute. This example removes the Sales and NewSales databases.

    USE master ;


    DROP DATABASE Sales, NewSales ;


    Reference document-

    Thank you!

    0 comments No comments