Section 12 in Foundation grant, etc > module Language.SQL.SimpleSQL.SQL2011AccessControl (sql2011AccessControlTests) where > import Language.SQL.SimpleSQL.TestTypes > sql2011AccessControlTests :: TestItem > sql2011AccessControlTests = Group "sql 2011 access control tests" [] 12 Access control 12.1 ::= | 12.2 ::= GRANT TO [ { }... ] [ WITH HIERARCHY OPTION ] [ WITH GRANT OPTION ] [ GRANTED BY ] 12.3 ::= ON ::= [ TABLE ] | DOMAIN | COLLATION | CHARACTER SET | TRANSLATION | TYPE | SEQUENCE | ::= ALL PRIVILEGES | [ { }... ] ::= SELECT | SELECT | SELECT | DELETE | INSERT [ ] | UPDATE [ ] | REFERENCES [ ] | USAGE | TRIGGER | UNDER | EXECUTE ::= [ { }... ] ::= ::= PUBLIC | ::= CURRENT_USER | CURRENT_ROLE 12.4 ::= CREATE ROLE [ WITH ADMIN ] 12.5 ::= GRANT [ { }... ] TO [ { }... ] [ WITH ADMIN OPTION ] [ GRANTED BY ] ::= 12.6 ::= DROP ROLE 12.7 ::= | ::= REVOKE [ ] FROM [ { }... ] [ GRANTED BY ] ::= GRANT OPTION FOR | HIERARCHY OPTION FOR ::= REVOKE [ ADMIN OPTION FOR ] [ { }... ] FROM [ { }... ] [ GRANTED BY ] ::=