Skip to content

DROP USER

Removes a database role.

Synopsis ​

DROP USER [IF EXISTS] <name> [, ...]

Description ​

DROP USER is an alias for DROP ROLE. See DROP ROLE for more information.

Compatibility ​

There is no DROP USER statement in the SQL standard. The SQL standard leaves the definition of users to the implementation.

See Also ​

DROP ROLE, CREATE USER

Parent topic: SQL Commands