IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_MEALBILL' AND KSQL_COL_NAME IN ('FISREIMBURSE'))
ALTER TABLE T_ER_MEALBILL ADD (FISREIMBURSE CHAR(1) DEFAULT '0' NOT NULL);
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_MEALBILL' AND KSQL_COL_NAME IN ('FTRIPID'))
ALTER TABLE T_ER_MEALBILL ADD (FTRIPID VARCHAR(30) DEFAULT ' ' NOT NULL);
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_MEALBILL' AND KSQL_COL_NAME IN ('FORIORDERNUM'))
ALTER TABLE T_ER_MEALBILL ADD (FORIORDERNUM VARCHAR(100) DEFAULT ' ' NOT NULL);
