IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMEXPDET' AND KSQL_COL_NAME ='FEXPENTRYSTATUS')
 ALTER TABLE T_ER_PUBREIMEXPDET ADD (FEXPENTRYSTATUS CHAR(1) DEFAULT '0' NOT NULL );