DBA > Job Interview Questions > Oracle DBA Checklist

Oracle DBA Checklist - Nightly Procedures - pop_

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

Oracle DBA Checklist - Nightly Procedures - pop_vol.sql

-- pop_vol.sql
--
insert into utl_vol_facts
select table_name
, NVL ( num_rows, 0) as num_rows
, trunc ( last_analyzed ) as meas_dt
from all_tables -- or just user_tables
where owner in ('&OWNER') -- or a comma-separated list of owners
/
commit
/

(Continued on next question...)

Other Job Interview Questions