Entering content frame

ALTER PASSWORD statement
(alter_password_statement)
 

The ALTER PASSWORD statement (alter_password_statement) is required to change the password for a user.

Syntax

<alter_password_statement> ::= ALTER PASSWORD <old_password> TO <new_password>
| ALTER PASSWORD <user_name> <new_password>

<old_password> ::= <password>

<new_password> ::= <password>

user name, password

Explanation

The old password must match the password stored in the database catalog for the current user.

When the user name is specified, the current user must be the SYSDBA.

The next time the user starts a Database session, the new password must be specified in the CONNECT statement.

 

Leaving content frame