IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMWRIOFFAPPLY' AND KSQL_COL_NAME ='FAPPLYCOSTCOMPANY')
ALTER TABLE T_ER_PUBREIMWRIOFFAPPLY ADD (FAPPLYCOSTCOMPANY BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMWRIOFFAPPLY' AND KSQL_COL_NAME ='FAPPLYPROJECT')
ALTER TABLE T_ER_PUBREIMWRIOFFAPPLY ADD (FAPPLYPROJECT BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_WRITEOFFAPPLY' AND KSQL_COL_NAME ='FAPPLYCOSTCOMPANY')
ALTER TABLE T_ER_WRITEOFFAPPLY ADD (FAPPLYCOSTCOMPANY BIGINT DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_WRITEOFFAPPLY' AND KSQL_COL_NAME ='FAPPLYPROJECT')
ALTER TABLE T_ER_WRITEOFFAPPLY ADD (FAPPLYPROJECT BIGINT DEFAULT 0 NOT NULL );