REVOKE [ GRANT OPTION FOR ] { ALL PRIVILEGES } | { privilege., ..} ON object_name FROM PUBLIC | { grantee .,.. };
Keyword | Description |
---|---|
privilege | Type of access, action, or privilege to revoke |
object_name | Name of the object on which to revoke privileges |
grantee | User name(s) to revoke |
This statement removes privileges from authorization IDs (users) that have previously received them with the GRANT statement. The privileges follow the definitions and rules outlined under GRANT. The GRANT option is the ability to grant the privileges received in turn to others.
In any case, the revoker of the privilege is the same authorization ID that granted it, and all dependent privileges may be revoked. A privilege (privilege A) depends directly on another (privilege B) if either of the following sets of conditions is met:
All of the following must be true to satisfy this condition set:
OR
All of the first three below must be true to satisfy this condition set:
plus any one of the following:
REVOKE SELECT ON STAFF FROM CLERK