Oracle8i SQL Reference Release 3 (8.1.7) Part Number A85397-01 |
|
SQL Statements:
ALTER CLUSTER to ALTER SYSTEM, 15 of 19
Use the ALTER
ROLE
statement to change the authorization needed to enable a role.
See Also:
|
You must either have been granted the role with the ADMIN
OPTION
or have ALTER
ANY
ROLE
system privilege.
Before you alter a role to IDENTIFIED
GLOBALLY
, you must:
PUBLIC
.
The one exception to this rule is that you should not revoke the role from the user who is currently altering the role.
The keywords and parameters in the ALTER
ROLE
statement all have the same meaning as in the CREATE
ROLE
statement.
The following statement changes the role analyst
to IDENTIFIED
GLOBALLY
:
ALTER ROLE analyst IDENTIFIED GLOBALLY;
This statement changes the password on the teller
role to letter
:
ALTER ROLE teller IDENTIFIED BY letter;
Users granted the teller
role must subsequently enter the new password "letter" to enable the role.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|