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