/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MDR_constraint.sql **/
 EXEC P_ALTERPK 'PK_MDR_ITEMCLASS_P', 'T_MDR_ITEMCLASS_P', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MDR_ITEMCLASSP') CREATE INDEX IDX_MDR_ITEMCLASSP ON T_MDR_ITEMCLASS_P ( FISONHOMEPAGE ,FISMALLCLASSIFICATION ,FSEIFCLASSIFICATION );



/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MDR_constraint.sql **/
