select
'alter user "'||username||'" identified by values '''||extract(xmltype(dbms_metadata.get_xml('USER',username)),'//USER_T/PASSWORD/text()').getStringVal()||''';' old_password
from dba_users
where username='PEACOCK';
Save user password
Categories:
Related Post
What is the difference between SQL Profiles and SQL Plan Baselines?What is the difference between SQL Profiles and SQL Plan Baselines?
By: Maria Colgan Distinguished Product Manager I’ […]
How to use the RANGE function?How to use the RANGE function?
You can define this in one extract group or multiple ex […]