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: 1281
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 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
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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