antlr_supported_sql.mysql.dcl.grant.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <sql-cases db-types="MySQL" namespace="mysql.dcl.grant"> <sql-case id="grant_select" value="GRANT SELECT ON *.* TO user1" /> <sql-case id="grant_select_column" value="GRANT SELECT (order_id) ON ds_0.t_order TO user1" /> <sql-case id="grant_select_to_local_user" value="GRANT SELECT ON *.* TO 'user1'@'localhost'" /> <sql-case id="grant_crud" value="GRANT INSERT, SELECT, UPDATE, DELETE ON *.* TO user1" /> <sql-case id="grant_all" value="GRANT ALL PRIVILEGES ON *.* TO user1" /> <sql-case id="grant_all_on_schema" value="GRANT ALL PRIVILEGES ON ds_0.* TO user1" /> <sql-case id="grant_all_on_table" value="GRANT ALL PRIVILEGES ON ds_0.t_order TO user1" /> <sql-case id="grant_all_on_function" value="GRANT ALL PRIVILEGES ON FUNCTION ds_0.function1 TO user1" /> <sql-case id="grant_proxy" value="GRANT PROXY ON user1 TO user2" /> <sql-case id="grant_multi_proxy" value="GRANT PROXY ON user1 TO user2, user3" /> <sql-case id="grant_role_to_user" value="GRANT role1 TO user1" /> <sql-case id="grant_roles_to_users" value="GRANT role1, role2 TO user1, user2" /> </sql-cases>