If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > system tables

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-09, 23:45
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
system tables

hi

Alter a table like adding a column increase the size of datatype is stored in system tables,
kindly suggest
regds
paul
Reply With Quote
  #2 (permalink)  
Old 11-09-09, 00:15
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Not sure what you are asking, but if you alter a table to add a new column to a table, a row will be inserted into the sysibm.syscolumns catalog table (better to view it via syscat.columns view if using DB2 LUW). There may be some other rows added to the DB2 catalog if you do a certain kind of runstats or if you create any indexes, constraints, FK's etc on the new column.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 11-09-09, 00:38
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
marcus

i have a sql replication of db whenever there is changes in structure in source ex: column addition etc same has to be done in target means drop and recreate the table,
there are lot of changes in different tables in source to bring same structure in target
want to know which all tables was modified recently in source.
regds
Paul
Reply With Quote
  #4 (permalink)  
Old 11-10-09, 07:40
Mathew_paul Mathew_paul is offline
Registered User
 
Join Date: Oct 2007
Posts: 200
any way to find out when the table ddl was modified

regds
Paul
Reply With Quote
  #5 (permalink)  
Old 11-10-09, 14:42
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
I would track the ALTER_TIME value for each table in the DB2 catalog.
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On