You are viewing an older version of this section. View current production version.
Join the SingleStore Community Today
Get expert advice, develop skills, and connect with others.

DROP GROUP

Info

MemSQL Helios does not support this command.

Remove a group from a MemSQL cluster.

Syntax

DROP GROUP [IF EXISTS] 'group_name'

Remarks

  • IF EXISTS is available in 6.0.15 or later.

Example

memsql> SHOW GROUPS;
+---------+
| Groups  |
+---------+
| group_0 |
+---------+
1 row in set (0.00 sec)

memsql> DROP GROUP 'group_0';
Query OK, 0 rows affected (0.22 sec)

memsql> SHOW GROUPS;
Empty set (0.00 sec)