I have a table which logs record counts of all tables in a schema every 28 days. The table has the following columns:
“TABLE_NAME” VARCHAR2(100 BYTE),
“RECORD_COUNT” NUMBER,
“CREATED” DATE
I would like to spool out a log file which has the following data:
- Table Name
- Current Record Count
- Record Count 28days ago
- Difference between2 and 3
Thanks for your help.
Something like this should do it