IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Get to know when was a DB2 table last updated


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vishabus

New User


Joined: 25 Oct 2006
Posts: 24
Location: India

PostPosted: Tue Sep 16, 2008 4:50 pm
Reply with quote

Hi,

Is there any way I can get to know when was a DB2 table last updated?

Thanks for the help
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Tue Sep 16, 2008 5:19 pm
Reply with quote

The data in the table or the table definition?
Back to top
View user's profile Send private message
vishabus

New User


Joined: 25 Oct 2006
Posts: 24
Location: India

PostPosted: Wed Sep 17, 2008 8:29 am
Reply with quote

Not the table definition Craq. I am able to figure that out. I want to know when was data last updated in the table. Any way to do this?
Back to top
View user's profile Send private message
Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Wed Sep 17, 2008 10:10 am
Reply with quote

I don't think there's a way. Thats why we will have Update timestamps in many tables and write proper audits thru the Programs whenever an update table happens.
Back to top
View user's profile Send private message
Bharath Bhat

Active User


Joined: 20 Mar 2008
Posts: 283
Location: chennai

PostPosted: Wed Sep 17, 2008 10:23 am
Reply with quote

Try to check the PLAN_TABLE.... You'll find a lot of details about any table. But it will not show any manual updates.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top