The RENAME USER statement changes the name of a user.
<rename_user_statement> ::= RENAME USER <user_name> TO <new_user_name>
The user that you want to modify must exist. The user name must identify a user whose owner is the current user.
The new user name (new_user_name) must not be identical to the name of an existing user, user group, or role.
The user whom you want to modify must not be logged on to the database system when the RENAME USER statement is executed.
The database system automatically adapts the objects that are dependent on the modified user to the new user name.