|
|
GRANT OBJECT PRIVILEGE
Grants object privileges to one or more idents.
where
routine-specificationis:Usage
Embedded/Interactive/ODBC/JDBC.
Description
The specified object privilege is granted to the ident(s) listed. When
WITH GRANT OPTIONis specified, the ident may in turn grant the specified privilege to another ident. If the privilege is granted to aGROUPident, all members of the group receive the specified privilege.Object Privileges
The object privileges are as follows:
EXECUTEAllows the ident to invoke the specified function, procedure or statement, or to enter the specified
PROGRAMident.MEMBERSpecifies that the ident is a member of the stated group. All privileges granted to the group are held by all members of the group.
SEQUENCEAllows the ident to create new sequences in the specified databank.
TABLEAllows the ident to create new tables in the specified databank.
USAGEallows the ident to specify the named domain where a data type would normally be specified, in contexts where use of domains is allowed or to use the value of a sequence, in contexts where this is allowed.
Restrictions
The grantor must have grant option on the privilege.
Notes
If the grantor loses his grant option, any privileges he has granted using the option are automatically revoked.
An ident may not grant privileges to himself.
An ident may gain
WITH GRANT OPTIONbecause of the effect of a `cascading grant' in the following situation:If an ident creates an object that references at least one other object on which the ident holds an object privilege without
WITH GRANT OPTION, the ident will not holdWITH GRANT OPTIONon the created object.Example
GRANT EXECUTE ON FUNCTION capitalize TO mimer_admin_group;Standard Compliance
|
Mimer Information Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 info@mimer.se |
|
|