Entering content frame

ALTER PASSWORD Statement Locate the document in the library structure

The ALTER PASSWORD statement (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>

Examples

SQL Tutorial, Structure linkDatabase Users and Their Privileges

Explanation

You change the password for the current user using ALTER PASSWORD <old_password> TO <new_password>. The old password must be the same as the password stored in the database catalog for the current user.

If you want to change a password for a user using the user_name , the current user must be the database system administrator (SYSDBA).

The new password must be specified in the CONNECT statement when the user next opens a database session.

 

Leaving content frame