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 are 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.
ExampleGRANT EXECUTE ON FUNCTION capitalize TO mimer_admin_group;
SQL-2016 Core Fully compliant. SQL-2016 Features outside core Feature F251, "Domain support" support for grant usage on domain.Feature F690, "Collation support" 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