GRANT OBJECT PRIVILEGE
Grants object privileges to one or more idents.
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 a
GROUPident, all members of the group receive the specified privilege.
The object privileges are as follows:
allows 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.
The grantor must have grant option on the privilege.
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 hold
WITH GRANT OPTIONon the created object.
ExampleGRANT EXECUTE ON FUNCTION capitalize TO mimer_admin_group;
SQL-2003 Core Fully compliant. SQL-2003 Features outside core Feature F251, "Domain support" support for grant usage on domain.Feature F691, "Collations and translations" support for grant usage on collation. Mimer SQL extension Support for use of MEMBER, EXECUTE (on STATEMENT and PROGRAM), SEQUENCE and TABLE are Mimer SQL extensions.
Mimer Information Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40