SingleStore Managed Service

DROP DATABASE

Drops a local storage database.

Syntax
DROP DATABASE [IF EXISTS] <database_name> [FORCE]

DROP SCHEMA [IF EXISTS] <database_name> [FORCE]
Remarks
  • By default, the DROP DATABASE command waits for the running queries to finish before dropping the database. To override this behavior and kill any running queries, use the FORCE option.

Examples
DROP DATABASE IF EXISTS test;
DROP DATABASE IF EXISTS db FORCE;