-
Monitoring table growth
Hi,
I was task to monitor the growth of all our database tables
weekly. So the have a weekly count on all of them and stored in
in the table. The count table looks like this:
date1 table_name count1
--------- ---------- ------
07-JAN-04 EMP 50
14-JAN-04 EMP 53
21-JAN-04 EMP 60
.
.
.
My questions is, how can i write a sql program the print
the ff report:
WEEKLY TABLE GROWTH
TABLE NAME 07-JAN-04 INCREASE 14-JAN-04 INCREASE
---------- --------- --------- --------- --------- ...
EMP 50 3 53 7
DEPT 20 0 20 0
Thanks again for your help
-
Have a search for "pivot"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|