Syntax
Revoke database privileges from a user.Parameters
Parameter or clause | Description |
---|---|
GRANTED BY clause | The specified user after the GRANTED BY clause must be the current user. By default, the current user is root. |
Example
Revoke all privileges for all sources inschema1
from user user1
.
mv1
, which is in schema schema1
of database db1
, from user user1
.
s1
from user user1
.