Small. Fast. Reliable.
Choose any three.

detach-stmt

DETACH DATABASE schema-name

Used by:   sql-stmt

See also:   lang_detach.html