Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts PC (UTF-8) -> z/OS (EBCDIC) -> ... prino All Other Mainframe Topics 4 Fri Sep 01, 2017 1:47 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us