My personal collection of oracle stuffs and sometimes non-oracle items too
Tuesday, January 9, 2018
Reset Password By Values in 12c
select u.username,
'alter user '||u.username||' identified by values '''||s.spare4||''';' cmd
from dba_users u
join sys.user$ s
on u.user_id = s.user#
where u.username = upper('user1');
No comments:
Post a Comment