Outdated Version

You are viewing an older version of this section. View current production version.

DROP DATABASE

Drop the specified database.

Syntax

DROP DATABASE [IF EXISTS] db_name

DROP SCHEMA [IF EXISTS] db_name

Remarks

Example

memsql> DROP DATABASE IF EXISTS test;
Query OK, 0 rows affected (0.29 sec)