Icon DROP DATABASE

Drops an existing database.

Syntax
DROP DATABASE <Name>
[KEEP CONTENTS]

Usage
Use this statement to drop a database.

Warning Dropping a database will drop all tables and the entire catalog for the database specified. This means that all data and metadata for the database will be permanently deleted. However, you can keep the catalog and tables but remove the database from the configuration by specifying the KEEP CONTENTS clause.

Examples
-- The following statement drops the Support database.

DROP DATABASE "Support"

Required Privileges
The current user must be granted the system-defined Administrators role in order to execute this statement. Please see the User Security topic for more information.

SQL 2003 Standard Deviations
This statement deviates from the SQL 2003 standard in the following ways:

DeviationDetails
ExtensionThis SQL statement is an ElevateDB extension.
Image