antlr_supported_sql.oracle.dcl.grant.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <sql-cases db-types="Oracle" namespace="oracle.dcl.grant"> <sql-case id="grant_system_privilege" value="GRANT CREATE SESSION TO user1" /> <sql-case id="grant_system_privileges" value="GRANT CREATE ANY MATERIALIZED VIEW, ALTER ANY MATERIALIZED VIEW, DROP ANY MATERIALIZED VIEW TO user1" /> <sql-case id="grant_all_system_privileges" value="GRANT ALL PRIVILEGES TO user1" /> <sql-case id="grant_system_privilege_to_users" value="GRANT CREATE SESSION TO user1, user2" /> <sql-case id="grant_role" value="GRANT role1 TO user1" /> <sql-case id="grant_roles_to_users" value="GRANT role1, role2 TO user1, user2" /> <sql-case id="grant_object_privilege" value="GRANT SELECT ON ds_0.t_order TO user1" /> <sql-case id="grant_object_privileges" value="GRANT INSERT, SELECT, UPDATE, DELETE ON ds_0.t_order TO user1" /> <sql-case id="grant_all_object_privileges" value="GRANT ALL PRIVILEGES ON ds_0.t_order TO user1" /> <sql-case id="grant_object_privilege_to_users" value="GRANT SELECT ON ds_0.t_order TO user1, user2" /> <sql-case id="grant_object_privilege_column" value="GRANT SELECT (order_id) ON ds_0.t_order TO user1" /> <sql-case id="grant_object_privilege_on_user" value="GRANT INHERIT PRIVILEGES ON user1 TO user2" /> <sql-case id="grant_program" value="GRANT role1 TO FUNCTION ds_0.function1" /> <sql-case id="grant_roles_to_programs" value="GRANT role1, role2 TO FUNCTION ds_0.function1, FUNCTION ds_0.function2" /> </sql-cases>