/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\EB_constraint.sql **/
IF EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_EXAMINECHECK') DROP INDEX T_EB_EXAMINECHECK.IDX_EB_EXAMINECHECK;
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_EXAMINECHECK_P1') CREATE INDEX IDX_EB_EXAMINECHECK_P1 ON T_EB_EXAMINECHECK ( FRESULTID  );
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_EB_EXAMINECHECK_P2') CREATE INDEX IDX_EB_EXAMINECHECK_P2 ON T_EB_EXAMINECHECK ( FREPORTID  );


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