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


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

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMBILL' AND KSQL_COL_NAME ='FREDOFFSETDES')
ALTER TABLE T_ER_PUBREIMBILL ADD (FREDOFFSETDES  NVARCHAR(1000) DEFAULT ' ' NOT NULL);

