The ALTER PASSWORD statement is required to alter a user's password.
Syntax
<alter_password_statement> ::= ALTER PASSWORD <old_password> TO <new_password>
| ALTER PASSWORD <user_name> <new_password>
<old_password> ::= <password>
<new_password> ::= <password>
Explanation
The old password must match the password entered in the catalog for the current user.
If the
user_name is specified, the current user must be the SYSDBA.The new password must be specified in the
CONNECT statement the next time the user starts a session.