sqlplus /as sysdba
select username, account_status
from dba_users
where username='HR';
alter user hr account unlock;
alter user hr identified by hr;
select tname from tab;
alter session set nls_date_format='DD-MON-RR';
sqlplus /as sysdba
select username, account_status
from dba_users
where username='HR';
alter user hr account unlock;
alter user hr identified by hr;
select tname from tab;
alter session set nls_date_format='DD-MON-RR';