IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAS_WBCONFIGENTRY' AND KSQL_COL_NAME IN ('FDEFAULT'))
ALTER TABLE T_CAS_WBCONFIGENTRY ADD (FDEFAULT CHAR(1) DEFAULT '0' );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAS_WBCONFIGENTRY' AND KSQL_COL_NAME IN ('FINVOKETYPE'))
ALTER TABLE T_CAS_WBCONFIGENTRY ADD (FINVOKETYPE NVARCHAR(32) DEFAULT 'MS' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_CAS_WBCONFIG' AND KSQL_COL_NAME IN ('FMATCHOPERATION'))
ALTER TABLE T_CAS_WBCONFIG ADD (FMATCHOPERATION CHAR(1) DEFAULT '0' NOT NULL );