DROP DATABASE

Drop a database. The default database cannot be dropped.

Note that this does not make any modifications to the external data source, and only means the database can no longer be accessed from within GlareDB.

Syntax

DROP DATABASE [IF EXISTS] <database>;
Field Description
database The database to drop.

Examples

Drop a database named pg. See CREATE EXTERNAL DATABASE for adding a database.

DROP DATABASE pg;