DELETE DATABASE Command

Deletes a database from disk.

DELETE DATABASE DatabaseName | ? [DELETETABLES] [RECYCLE]

Parameters

DatabaseName

Specifies the name of the database to delete from disk. The database you specify cannot be open. DatabaseName can include the path to the database with the database name.

?

Displays the Delete dialog box from which you can specify the name of the database to delete from disk.

DELETETABLES

Deletes the tables contained in the database from disk and the database containing the tables.

RECYCLE

Specifies that the database isn't immediately deleted from disk and is placed in the Windows Recycle Bin.

Expand imageRemarks

Expand imageExample

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic