# Full Schema Refresh
SQL> EXEC DBMS_UTILITY.compile_schema(schema => 'CSI');
# How to change Oracle password and restore with old one if you don't know current password
Step 1: Get the password value of user
SQL> select USER#,NAME,PASSWORD from user$ where name='CSI';
USER# NAME PASSWORD
---------- ------- ------------------
63 CSI A31A78DDCB990AE2
Step2: Change the user password with a new value and perform the activity.
SQL> ALTER USER CSI IDENTIFIED BY mynewpassword;
SQL> select USER#,NAME,PASSWORD from user$ where name='CSI';
USER# NAME PASSWORD
---------- ------- ------------------
63 CSI D3998D50331ED867
Step3: After completion of activity revert back to original password.
SQL> ALTER USER CSI IDENTIFIED BY VALUES 'A31A78DDCB990AE2';
SQL> EXEC DBMS_UTILITY.compile_schema(schema => 'CSI');
# How to change Oracle password and restore with old one if you don't know current password
Step 1: Get the password value of user
SQL> select USER#,NAME,PASSWORD from user$ where name='CSI';
USER# NAME PASSWORD
---------- ------- ------------------
63 CSI A31A78DDCB990AE2
Step2: Change the user password with a new value and perform the activity.
SQL> ALTER USER CSI IDENTIFIED BY mynewpassword;
SQL> select USER#,NAME,PASSWORD from user$ where name='CSI';
USER# NAME PASSWORD
---------- ------- ------------------
63 CSI D3998D50331ED867
Step3: After completion of activity revert back to original password.
SQL> ALTER USER CSI IDENTIFIED BY VALUES 'A31A78DDCB990AE2';
No comments:
Post a Comment