REVOKE (Storage Location)
Revokes privileges from a user or role to read from or write to a storage location.
Note: The REVOKE (Storage Location) statement is applicable only to 'USER' storage locations. See GRANT (Storage Location) for more information. If the storage location is dropped, all user privileges are removed as part of that.
Syntax
REVOKE [ GRANT OPTION FOR ]
... { READ | WRITE | ALL [ PRIVILEGES ] }
... ON LOCATION [ 'path' [ ON node ]
... FROM { username | role | PUBLIC } [, ...]
... [ CASCADE ]
Parameters
REVOKE OPTION FOR |
Revokes GRANT privileges from the grantee. |
READ |
Revokes privileges from the grantee to copy data from files in a storage locations into a table. |
WRITE |
Revokes privileges to export Vertica data from the database to a storage location. Revoking |
ALL |
Revokes all privileges from the grantee to the storage location. |
PRIVILEGES |
For SQL standard compatibility and is ignored. |
{ username | role | PUBLIC } [,...] |
Revokes privileges from one or more users, one or more roles, or all users (
|
ON LOCATION ( 'path' [ ON node ] ) |
|
CASCADE |
Revokes privileges from the grantee. Using the |
Examples
For examples, see GRANT (Storage Location)