IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMWRIOFFDET' AND KSQL_COL_NAME ='FSOURCEEXPENSEITEMID') 
 ALTER TABLE T_ER_PUBREIMWRIOFFDET ADD (FSOURCEEXPENSEITEMID BIGINT DEFAULT 0 NOT NULL );