2008-11-28 全テーブルのレコード数取得 メモ メモ書き。 動的SQLじゃないところが工夫されている箇所。 select table_name, to_number( extractvalue( xmltype( dbms_xmlgen.getxml('select count(*) c from '||table_name)) ,'/ROWSET/ROW/C')) count from user_tables;