DB2: To check table status in the event of SQLCODE=-668, SQLSTATE=57007

 To check table's status ('C' means that the table is in set integrity pending)

db2 "select status from syscat.tables where tabname = 'COLLDESC'"
To set integrity
db2 "set integrity for wcs.colldesc immediate checked"

Comments

Popular posts from this blog

Oracle: To clean up WRI$_ADV_OBJECTS