DROP DATABASE
Drops a database.
Syntax
DROP DATABASE database_name
Parameters
- database_name
-
Name of the database to be dropped. You can't drop the dev, padb_harvest, template0, or template1 databases, and you can't drop the current database.
To drop an external database, drop the external schema. For more information, see DROP SCHEMA.
Examples
The following example drops a database named TICKIT_TEST:
drop database tickit_test;