
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANORDERCOPENTRY' AND KSQL_COL_NAME ='FCOPENTRYREMARK') 
 ALTER TABLE T_MRP_PLANORDERCOPENTRY ADD (FCOPENTRYREMARK NVARCHAR(255) DEFAULT ' ' NOT NULL);

 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_MRP_PLANORDERCOPENTRY' AND KSQL_COL_NAME ='FSEQ') 
 ALTER TABLE T_MRP_PLANORDERCOPENTRY ADD (FSEQ INT DEFAULT 0 NOT NULL);