admin

DROP DATABASE

Permanently removes a database. Connect to a different database; active sessions normally prevent removal. Cannot run in a transaction block.

Formal Syntax & Structure

sql syntaxsql
DROP DATABASE bm_lab_db;

Working Example

Example Snippetsql
-- Disposable PostgreSQL lab only; see LAB.md.DROP DATABASE bm_lab_db;
SQL Reference