DB2: To get create time and alter time for DB2 tables:

 to get create time and alter time for DB2 tables:

db2 "select tabname, create_time from syscat.tables where tabschema = <schema> and tabname = <table> with ur"

db2 "select tabname, alter_time from syscat.tables where tabschema = <schema> and tabname = <table> with ur"


select * from syscat.tables where tabname = 'XTMW_CHANNELADVISOR' with ur;


select tabname, create_time from syscat.tables where tabschema = 'WCS' and  tabname = 'APPEASEMENT' with ur

Comments

Popular posts from this blog

Oracle: To clean up WRI$_ADV_OBJECTS