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

Find when the Table Last updated


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

New User


Joined: 12 Sep 2006
Posts: 15
Location: Chennai, Tamilnadu, India

PostPosted: Tue Apr 08, 2008 1:39 pm
Reply with quote

Hi,

I would like to know when was the table last updated and if possible by whom.

Any idea folks ???
Back to top
View user's profile Send private message
shrivatsa
Warnings : 1

Active User


Joined: 17 Mar 2006
Posts: 174
Location: Bangalore

PostPosted: Tue Apr 08, 2008 5:40 pm
Reply with quote

I think its not possible to find, Unless you write auditing Triggers.
You can find the Last DDL statement Executed against that object
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 08, 2008 8:30 pm
Reply with quote

Hello,

You might talk with your dba(s). They may be able to get what you want from recent db2 logs (what you are looking for would be recent, correct?).
Back to top
View user's profile Send private message
senthil_hari

New User


Joined: 27 Mar 2008
Posts: 7
Location: chennai

PostPosted: Wed Apr 09, 2008 3:19 pm
Reply with quote

If u have timestamp column,check for timestamp to know the last update
Back to top
View user's profile Send private message
Ajesh

New User


Joined: 03 Apr 2008
Posts: 6
Location: Chennai

PostPosted: Wed Apr 09, 2008 4:17 pm
Reply with quote

If you have last updated time stamp and Last updated user Ids in your table you can get the same.
Talk with your DBAs too.They might have some other process in hand for this.
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 To find whether record count are true... DFSORT/ICETOOL 6
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top