irut@/home/oracle/dba/scripts: cat all_tables.sql set echo off spool SCHEMAS_TABS.txt set sqlblanklines off set linesize 50 set pagesize 0 set heading off set timing off set termout off set feedback off SELECT DISTINCT OBJECT_NAME FROM USER_OBJECTS WHERE OBJECT_TYPE = 'TABLE'; spool off quit
- Here will see how to deal with => ORA-28007: the password cannot be reused - I got a request from client user, stating his account has been locked. When I check the status of the account I found the below. connect to SYS user & execute the below query of that database. SQL> select password,username,account_status,profile from dba_users where username='TEST'; PASSWORD USERNAME ACCOUNT_STATUS PROFILE ------------------ ---------------- ------------------------------- -------------------- AB2Aa8AC9971521e3 TEST EXPIRED(GRACE)&LOCKED NONAPP_USERS So, then I have unlocked the account and checked the same again & I found the below results. ...
Comments
Post a Comment