Creates a database user.
CREATE USER name IDENTIFIED BY password
When you execute the
CREATE USERstatement, PolarDB for Oracle creates a schema that uses the same name as the user. The schema is owned by the user.
- You can execute this statement by using only a privileged account.
- The account created by executing this statement is a standard account.
|name||The name of the user.
|password||The password of the user.
Create a user named user and set the password to password.
CREATE USER user IDENTIFIED BY password;