/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MDL_constraint.sql **/
EXEC p_DropIdx 'IDX_KDP_INDUSTRYINFO_L_NAME', 'T_META_INDUSTRYINFO_L';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_KDP_INDUSTRYINFO_L_NAME') CREATE INDEX IDX_KDP_INDUSTRYINFO_L_NAME ON T_META_INDUSTRYINFO_L ( FNAME ,FID ,FLOCALEID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_KDP_INDUSTRYINFO_L_LOCALE') CREATE INDEX IDX_KDP_INDUSTRYINFO_L_LOCALE ON T_META_INDUSTRYINFO_L ( FID ,FLOCALEID );

EXEC p_DropIdx 'IDX_KDP_APPRUNTIMEL_LOCALE', 'T_META_APPRUNTIME_L';

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