/**Begin D:\zhaohui_zeng\PDM_UPGRADE\pdm1\MRP_constraint.sql **/
 EXEC P_ALTERPK 'PK_MRP_CALCRECORDBOMDATA', 'T_MRP_CALCRECORDBOMDATA', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MRP_CALCRECORDBOMDATA') CREATE INDEX IDX_MRP_CALCRECORDBOMDATA ON T_MRP_CALCRECORDBOMDATA ( FRUNLOGNO );



/**End D:\zhaohui_zeng\PDM_UPGRADE\pdm1\MRP_constraint.sql **/
