IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_SERVICECONFIG' AND KSQL_COL_NAME IN ('FBATCHDOWNSTRATEGY'))
ALTER TABLE T_BEI_SERVICECONFIG ADD (FBATCHDOWNSTRATEGY VARCHAR(50) DEFAULT 'groupbybankinterface' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_BEI_SERVICECONFIG' AND KSQL_COL_NAME IN ('FBATCHDOWNACCOUNTSNUM'))
ALTER TABLE T_BEI_SERVICECONFIG ADD (FBATCHDOWNACCOUNTSNUM INT DEFAULT 1 NOT NULL );