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
db_name
is the name of a MemSQL database.- This command must be run on the master aggregator node (see Node Requirements for MemSQL Commands).
Example
memsql> DROP DATABASE IF EXISTS test;
Query OK, 0 rows affected (0.29 sec)