Outdated Version

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

DROP GROUP

Info

SingleStore Managed Service does not support this command.

Remove a group from a cluster.

Syntax

DROP GROUP [IF EXISTS] 'group_name'

Remarks

  • IF EXISTS is available in 6.0.15 or later.

Example

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

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

SHOW GROUPS;
Empty set (0.00 sec)