Description
- ALL or ALL PRIVILEGES
- Grants one or more privileges. The privileges granted are all those
grantable privileges that the authorization ID of the statement has on the
specified sequences. Note that granting ALL PRIVILEGES on a sequence is not
the same as granting the system authority of *ALL.
If you do not use ALL,
you must use one or more of the keywords listed below. Each keyword grants
the privilege described.
- ALTER
- Grants the privilege to use the ALTER SEQUENCE, COMMENT, and LABEL statements
on a sequence.
- USAGE
- Grants the privilege to use the sequence in NEXT VALUE or PREVIOUS VALUE
expressions.
- ON SEQUENCE sequence-name
- Identifies the sequences on which the privilege is granted. The sequence-name must identify a sequence that exists at
the current server.
- TO
- Indicates to whom the privileges are granted.
- authorization-name,...
- Lists one or more authorization IDs.
- PUBLIC
- Grants the privileges to a set of users (authorization IDs). For more
information, see Authorization, privileges and object ownership.
- WITH GRANT OPTION
- Allows the specified authorization-names to
grant privileges on the sequences specified in the ON clause to other users.
If WITH GRANT OPTION is omitted, the specified authorization-names cannot grant the USAGE privilege to others unless they have received
that authority from some other source (for example, from a grant of the system
authority *OBJMGT).
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.