Grants the PLAN EXECUTE privilege.
Grants the PLAN BIND privilege.
Specifies the name of the plan to which the PLAN EXECUTE or PLAN BIND privilege is to be granted.
Specify the accessor ID of one or more users to whom you are granting the privileges. This is a user's ID, not a schema auth-id. Do not specify your own accessor ID, that is to say, you cannot grant privileges to yourself.
Specify PUBLIC when you are granting the specified privileges to all users. A new user automatically has any privileges previously granted to the public.
Specify UNKNOWNUSER when you are granting the specified privileges to users whose identities cannot be determined by CA Datacom/DB security.
Specify this option if you want the user to whom you have granted the privilege to be able to grant it to another user. WITH GRANT OPTION cannot be used with PUBLIC.
Specify WITH GRANT if you want the user to whom you have granted the privilege to be able to grant it to another user. WITH GRANT cannot be used with PUBLIC or with UNKNOWNUSER.
Following is the non-plan security syntax diagram for the GRANT statement:
►►─ GRANT ─┬─ ALL ──────────────────────────────┬─ ON ─┬─────────┬────────────► ├─ ALL PRIVILEGES ───────────────────┤ └─ TABLE ─┘ │ ┌─ , ────────────────────────────┐ │ └─▼─┬─ SELECT ───────────────────┬─┴─┘ ├─ INSERT ───────────────────┤ ├─ DELETE ───────────────────┤ ├─ UPDATE ─┬───────────────┬─┤ │ └─ column-list ─┘ │ ├─ ALTER ────────────────────┤ └─ INDEX ────────────────────┘ ┌─ , ──────────────┐ ┌─ , ───────────┐ ►─▼─┬─ table-name ─┬─┴─ TO ─┬─▼─ accessor-id ─┴─┬────────────────────────────► └─ view-name ──┘ ├─ PUBLIC ──────────┤ └─ UNKNOWNUSER ─────┘ ►─┬─────────────────────┬────────────────────────────────────────────────────►◄ ├─ WITH GRANT OPTION ─┤ └─ WITH GRANT ────────┘
The following are CA Datacom/DB extensions.
|
Copyright © 2014 CA.
All rights reserved.
|
|