All Downloads are FREE. Search and download functionalities are using the official Maven repository.

antlr_supported_sql.mysql.dcl.create_user.xml Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
<?xml version="1.0" encoding="UTF-8"?>
<sql-cases db-types="MySQL" namespace="mysql.dcl.createUser">
    <sql-case id="create_user" value="CREATE USER user1 DEFAULT ROLE role1" />
    <sql-case id="create_users" value="CREATE USER user1, user2 DEFAULT ROLE role1" />
    <sql-case id="create_user_if_not_exists" value="CREATE USER IF NOT EXISTS user1 DEFAULT ROLE role1" />
    <sql-case id="create_local_user" value="CREATE USER 'user1'@'localhost' DEFAULT ROLE role1" />
    <sql-case id="create_user_with_roles" value="CREATE USER user1 DEFAULT ROLE role1, role2" />
    <sql-case id="create_user_with_password" value="CREATE USER user1 IDENTIFIED BY 'password' DEFAULT ROLE role1" />
    <sql-case id="create_user_with_resource_option" value="CREATE USER user1 DEFAULT ROLE role1 MAX_QUERIES_PER_HOUR 1" />
    <sql-case id="create_user_with_resource_options" value="CREATE USER user1 DEFAULT ROLE role1 MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 1" />
    <sql-case id="create_user_with_password_option" value="CREATE USER user1 DEFAULT ROLE role1 PASSWORD EXPIRE DEFAULT" />
    <sql-case id="create_user_with_password_options" value="CREATE USER user1 DEFAULT ROLE role1 PASSWORD EXPIRE DEFAULT PASSWORD HISTORY DEFAULT" />
    <sql-case id="create_user_with_lock_option" value="CREATE USER user1 DEFAULT ROLE role1 ACCOUNT LOCK" />
    <sql-case id="create_user_with_options" value="CREATE USER user1 DEFAULT ROLE role1 MAX_QUERIES_PER_HOUR 1 MAX_UPDATES_PER_HOUR 1 PASSWORD EXPIRE DEFAULT PASSWORD HISTORY DEFAULT ACCOUNT LOCK" />
</sql-cases>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy