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
 

 

Db2 table creation History

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Naga Rajender.K

New User


Joined: 19 Dec 2008
Posts: 13
Location: Hyderabad

PostPosted: Wed Jan 19, 2011 11:54 am    Post subject: Db2 table creation History
Reply with quote

Hi ,
Can anyone help me to "how can we know a db2 table creation history".

like
1) when the table is created
2) when a particular column has been added.. etc


Thanks in advance
Back to top
View user's profile Send private message

Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Wed Jan 19, 2011 12:31 pm    Post subject:
Reply with quote

Hi Naga,

yes, very much..it can be done thru DB2 logs icon_razz.gif

Also, request you to go thru

http://ibmmainframes.com/about40106.html

http://ibm-mainframe-tips.blogspot.com/2008/10/who-updated-that-db2-table-how-to-read.html


hope this helps !!!
Back to top
View user's profile Send private message
GuyC

Senior Member


Joined: 11 Aug 2009
Posts: 1278
Location: Belgium

PostPosted: Wed Jan 19, 2011 2:12 pm    Post subject:
Reply with quote

Dsingh29 wrote:
yes, very much..it can be done thru DB2 logs icon_razz.gif

I like to see you do it for for a table that was created 3 monts ago and somewhere within these three months 3 columns were added , 2 deleted and 1 altered. Good Luck!

Without decent change management tools/administration this can not be done.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Wed Jan 19, 2011 6:04 pm    Post subject:
Reply with quote

Naga,

Check the DB2 Catalogs,
Columns CREATEDTS, ALTEREDTS in SYSIBM.SYSTABLES
Columns CREATEDTS, ALTEREDTS in SYSIBM.SYSCOLUMNS

Thanks
Sushanth
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 SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Detailed Transaction History report f... Kyle Carroll CICS 5 Tue Oct 18, 2016 12:42 am
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm
No new posts Updating online Db2 table kishpra DB2 3 Fri Aug 12, 2016 2:44 pm


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