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 OPTION is specified, the ident may in turn grant the specified privilege to another ident. If the privilege is granted to a GROUP ident, 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 OPTION because 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 OPTION on the created object.
ExampleGRANT EXECUTE ON FUNCTION capitalize TO mimer_admin_group;
EXTENDED Support for the keywords EXECUTE, MEMBER and TABLE is a Mimer SQL extension.Support for GRANT USAGE ON SEQUENCE is a Mimer SQL extension.Support for GRANT EXECUTE ON STATEMENT is a Mimer SQL extension. SQL/PSM EXTENDED Support for EXECUTE ON PROGRAM and the privileges MEMBER and TABLE is a Mimer SQL extension.
Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40