To get the number of rows in all tables in Oracle database, use this query.
SELECT table_name,num_rows FROM all_tables WHERE owner = 'SCHEMA';
When you encounter the error ORA-28001: the password has expired, execute below queries to resolve this. export ORACLE_SID=< databaseName> sqlplus / as SYSDBA SQL> alter profile default limit password_life_time unlimited; SQL> alter user <userName> identified by <password>; SQL> commit; SQL> exit;
Comments
Post a Comment