Edit

Share via


Delete objects

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW) SQL analytics endpoint in Microsoft Fabric Warehouse in Microsoft Fabric SQL database in Microsoft Fabric

Use this dialog box to delete a database or database object.

UI element list

Object to be deleted

Displays the names, types, owners, and status of the objects that are about to be deleted, and any messages about errors during execution.

Running Delete on a database is equivalent to issuing DROP DATABASE in Transact-SQL.

Show Dependencies

Select to display both the objects that are dependent on the currently selected object and objects that the current object is dependent on (upward and downward dependency). The information displayed in the Show Dependencies dialog box is read-only.

The Show Dependencies button doesn't appear for all types of database objects. To view dependencies when the Show Dependencies button isn't available, right-click the object in Object Explorer, and then select View Dependencies.

Delete backup and restore history information for databases

Only appears when a database is deleted, this check box causes the backup and restore history for the subject database to be deleted from the msdb database.

Close existing connections

Only appears when a database is deleted, this check box terminates connections to the subject database.