GRANT

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

Table of Contents

Synopsis

  1. GRANT { { DQL | DML | DDL [,...] } | ALL [ PRIVILEGES ] }
  2. [ON {SCHEMA | TABLE} identifier [, ...]]
  3. TO user_name [, ...];

Description

GRANT is a management statement to grant one or many privileges on the whole cluster or on a specific object to one or many existing users.

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

For usage of the GRANT statement see Privileges.

Parameters

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.