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
Create Role and grant to userCreate Role and grant to user
Traget: grant user abc with read only access to all the […]
How do I calculate tables size in OracleHow do I calculate tables size in Oracle
This query tells you how much space is allocated for ea […]