IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_MQBENTRY_M' AND KSQL_COL_NAME ='FISADD') 
ALTER TABLE T_IM_MDC_MQBENTRY_M ADD (FISADD CHAR(1) DEFAULT '0' NOT NULL);
--IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_MQBENTRY_M' AND KSQL_COL_NAME ='FSTOCKNO') 
--ALTER TABLE T_IM_MDC_MQBENTRY_M ADD (FSTOCKNO varchar(50) NOT NULL DEFAULT ' ');
--IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_MQBENTRY_M' AND KSQL_COL_NAME ='FSTOCKENTRY') 
--ALTER TABLE T_IM_MDC_MQBENTRY_M ADD (FSTOCKENTRY varchar(50) NOT NULL DEFAULT ' ');
--IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_MQBENTRY_M' AND KSQL_COL_NAME ='FSTOCKENTRYID') 
--ALTER TABLE T_IM_MDC_MQBENTRY_M ADD (FSTOCKENTRYID BIGINT DEFAULT 0 NOT NULL);
--IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_IM_MDC_MQBENTRY_M' AND KSQL_COL_NAME ='FSTOCKID') 
--ALTER TABLE T_IM_MDC_MQBENTRY_M ADD (FSTOCKID BIGINT DEFAULT 0 NOT NULL); 
