Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Find when the Table Last updated

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Find when the Table Last updated
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: 171
Location: Bangalore

PostPosted: Tue Apr 08, 2008 5:40 pm    Post subject: Reply to: Find when the Table Last updated
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

Site Director


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

PostPosted: Tue Apr 08, 2008 8:30 pm    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us