Background documentationDROP ROLE Statement (drop_role_statement) Locate this document in the navigation structure

 

The DROP ROLE statement (drop_role_statement) deletes a role.

Structure

Syntax Syntax

  1. <drop_role_statement> ::=
      DROP ROLE <role_name>
End of the code.
Examples

SQL Tutorial, Roles

Explanation

The current database user must be the owner of the role. The metadata of the role to be dropped is dropped from the database catalog.