set serveroutput on;declare  cursor cu is
    select tname テーブル from tab where tabtype = 'TABLE' order by tname;
  recct  number;begin  for cu_rec in cu loop
    execute immediate 'select count(*) from ' || cu_rec.tal into recct;
    dbms_output.put_line(
      rpad(cu_rec.tal, 40) || ' ' ||
      to_char(recct, '999,999,999')
    );
  end loop;
  dbms_output.put_line('=====================================================');end;
/
真的不明白,不用也不可以么??