Remove inherited privileges from a member role.
Section: Database and Role Lifecycle
Revoke role membership
sql
sql
REVOKE readonly FROM analyst_user;Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Database and Role Lifecycle