Get row_count of partitions of a table
set serverout on size 1000000 set verify off declare sql_stmt varchar2(1024); row_count number; cursor get_tab is select table_name,partition_name from dba_tab_partitions where table_owner=upper('&&TABLE_OWNER') and table_name='&&TABLE_NAME'; begin dbms_output.put_line('Checking Record Counts for table_name'); dbms_output.put_line('Log file to numrows_part_&&TABLE_OWNER.lst ....'); dbms_output.put
oracle configurationintermediate
by OracleDba
12 views