DROP ROLE

Documentation

VoltDB Home » Documentation » Using VoltDB

DROP ROLE

DROP ROLE — Removes a role.

Synopsis

DROP ROLE role-name [IF EXISTS]

Description

The DROP ROLE statement deletes the specified role. The IF EXISTS clause allows the statement to succeed even if the specified role does not exist. If the role does not exist and you do not include the IF EXISTS clause, the statement will return an error.

Examples

The following example removes the role named debug:

DROP ROLE debug;