DROP ROLE
Descriptionβ
The statement user removes a role
DROP ROLE [IF EXISTS] role1;
Deleting a role does not affect the permissions of users who previously belonged to the role. It is only equivalent to decoupling the role from the user. The permissions that the user has obtained from the role will not change
Exampleβ
- Drop a role1
DROP ROLE role1;
Keywordsβ
DROP, ROLE