Denies privilege to an existing user on the whole cluster or on a specific object.

Table of Contents


DENY { { DQL | DML | DDL [,...] } | ALL [ PRIVILEGES ] }
[ON {SCHEMA | TABLE} identifier [, ...]]
TO user_name [, ...];


DENY is a management statement to deny one or many privileges on a specific object to one or many existing users.

ON {SCHEMA | TABLE} is optional, if not specified the privilege will be denied on the CLUSTER level.

For usage of the DENY statement see Privileges.


identifier:The identifier of the corresponding object, If TABLE is specified the identifier should include the table’s full qualified name. Otherwise the table will be looked up in the current schema.
user_name:The name of an existing user.