IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_CALCRECORDBOMDATA' AND KSQL_COL_NAME ='FCACHEKEY')
 ALTER TABLE T_MRP_CALCRECORDBOMDATA ADD (FCACHEKEY NVARCHAR(150) DEFAULT ' ' NOT NULL);
 
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_CALCRECORDBOMDATA' AND KSQL_COL_NAME ='FEXPENDCONFIGCODE')
 ALTER TABLE T_MRP_CALCRECORDBOMDATA ADD (FEXPENDCONFIGCODE BIGINT DEFAULT 0 NOT NULL );