antlr_supported_sql.mysql.dcl.alter_user.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <sql-cases db-types="MySQL" namespace="mysql.dcl.alterUser"> <sql-case id="alter_user" value="ALTER USER user1" /> <sql-case id="alter_users" value="ALTER USER user1, user2" /> <sql-case id="alter_user_if_exists" value="ALTER USER IF EXISTS user1" /> <sql-case id="alter_local_user" value="ALTER USER 'user1'@'localhost'" /> <sql-case id="alter_user_with_password" value="ALTER USER user1 IDENTIFIED BY 'password'" /> <sql-case id="alter_user_with_resource_option" value="ALTER USER user1 MAX_QUERIES_PER_HOUR 1" /> <sql-case id="alter_user_with_resource_options" value="ALTER USER user1 MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 1" /> <sql-case id="alter_user_with_password_option" value="ALTER USER user1 PASSWORD EXPIRE DEFAULT" /> <sql-case id="alter_user_with_password_options" value="ALTER USER user1 PASSWORD EXPIRE DEFAULT PASSWORD HISTORY DEFAULT" /> <sql-case id="alter_user_with_lock_option" value="ALTER USER user1 ACCOUNT LOCK" /> <sql-case id="alter_user_with_options" value="ALTER USER user1 MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 1 PASSWORD EXPIRE DEFAULT PASSWORD HISTORY DEFAULT ACCOUNT LOCK" /> </sql-cases>