/**Begin D:\zhaohui_zeng\PDM_UPGRADE\PDM1\MRP_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_mrp_calcdetail' AND KSQL_COL_NAME ='feventid') 
 ALTER TABLE t_mrp_calcdetail ADD (feventid NVARCHAR(300) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 't_mrp_calcdetail' AND KSQL_COL_NAME ='fresolverip') 
 ALTER TABLE t_mrp_calcdetail ADD (fresolverip NVARCHAR(50) DEFAULT ' ' NOT NULL );
 
/**End D:\zhaohui_zeng\PDM_UPGRADE\PDM1\MRP_table.sql **/
