/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\GMC_constraint.sql **/
 EXEC P_ALTERPK 'PK_MDR_ITEMBRAND_CLASSES', 'T_MDR_ITEMBRAND_CLASSES', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MDR_IBC_FIDFBASEDATAID') CREATE INDEX IDX_MDR_IBC_FIDFBASEDATAID ON T_MDR_ITEMBRAND_CLASSES ( FID ,FBASEDATAID );



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