The GRANT statement (grant_statement) assigns privileges for tables, individual columns and roles, the SELECT privilege for a sequence, and the execution privilege for a database procedure.
<grant_statement>
::= GRANT <priv_spec>,... TO
<grantee>,... [WITH GRANT OPTION]
| GRANT EXECUTE ON <dbproc_name> TO <grantee>,...
| GRANT SELECT ON <sequence_name> TO
<grantee>,... [WITH GRANT OPTION]
priv_spec, grantee, dbproc_name, sequence_name
The privileges in the privilege specification are assigned to the users, user groups, and roles (see also: Role Concept) specified in the grantee list.
Users or user groups identified as grantees are allowed to pass on their privileges to other users. The current user must have the authorization to pass on these privileges.
The WITH GRANT OPTION cannot be specified if grantee identifies a role.
GRANT EXECUTE ON allow the user identified by grantee to execute the specified database procedure. The current user must be the owner of the database procedure.
GRANT SELECT ON allows the user identified by grantee to use the specified sequence.