DROP GROUP

Remove a group from a SingleStore cluster.

Syntax

DROP GROUP [IF EXISTS] 'group_name'

Remarks

  • IF EXISTS is available in 6.0.15 or later.

  • This command causes implicit commits. Refer to COMMIT for more information.

  • Refer to the Permission Matrix for the required permission.

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)

Last modified: August 18, 2023

Was this article helpful?