Start New Discussion Reply to this Discussion How to select tables that have been updated from last one week
I am facing problem in database.
i want to select tables which have been updated from last one week..
shapam
Newbie Poster
23 posts since Sep 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0
This is definately a very late reply but just incase some one googled and gets here.
Incase you(Shapam) are still in need of this,
First of, if you are tracking this yourself, you need to have an audit trail table. This table basically keeps records of all activities performed on various tables of your db. You should have a column that records the dates the changes were made.
This means that, you would need to write a query that inserts into the audit trail table everytime changes are made to all tables. Then you could always query the audit trail table.
Also Google Oracle auditing.
seslie
Junior Poster
105 posts since Mar 2010
Reputation Points: 66
Solved Threads: 10
Skill Endorsements: 0
thanks for ur reply but this prob already had solved...
shapam
Newbie Poster
23 posts since Sep 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0
I am facing problem in database.
i want to select tables which have been updated from last one week..
you can also use dba_objects table to get last DDL time. But to get tables based on transaction you should go for audit settings.
try this link
itzarun
Light Poster
42 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Hello Shapam,
That's good to know, please could you post how you got the problem solved, so I and others can benefit from it? Thanks and also mark as solved once you do.
seslie
Junior Poster
105 posts since Mar 2010
Reputation Points: 66
Solved Threads: 10
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.0630 seconds
using 2.64MB