Rediger

Del via


Delete Objects

Applies to: SQL Server Azure SQL Database Azure SQL Managed Instance Azure Synapse Analytics Analytics Platform System (PDW)

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, as well as any messages about errors during execution.

Note

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

Show Dependencies
Click 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.

Note

The Show Dependencies button does not appear for all types of database objects. To view dependencies when the Show Dependencies button is not available, right-click the object in Object Explorer, and then click 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.