HomeMogDBMogDB StackUqbar
v2.1

Documentation:v2.1

Supported Versions:

DROP ROLE

Function

DROP ROLE deletes a role.

Precautions

None

Syntax

DropRole ::= DROP ROLE [ IF EXISTS ] role_name [, ...];

Parameter Description

  • IF EXISTS

    Reports a notice instead of an error if the specified role does not exist.

  • role_name

    Specifies the name of the role to be deleted.

    Value range: an existing role name

Examples

See Example in CREATE ROLE.

CREATE ROLE, ALTER ROLE, and SET ROLE

Copyright © 2011-2024 www.enmotech.com All rights reserved.