/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\BASE_constraint.sql **/
EXEC p_DropIdx 'IDX_MATERIALGROUPDETAIL_MAT', 'T_BD_MATERIALGROUPDETAIL';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MATERIALGROUPDETAIL_MAT') CREATE INDEX IDX_MATERIALGROUPDETAIL_MAT ON T_BD_MATERIALGROUPDETAIL ( FMATERIALID ,FSTANDARDID );


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