/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MDL_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_META_OBJECTREF_REFEID') CREATE INDEX IDX_META_OBJECTREF_REFEID ON T_META_OBJECTTYPEREF ( FREFENTITYID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_META_OBJECTREF_ENTITYID') CREATE INDEX IDX_META_OBJECTREF_ENTITYID ON T_META_OBJECTTYPEREF ( FENTITYID );


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