/**Begin D:\software\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RESULTENTRYID1') CREATE INDEX IDX_RESULTENTRYID1 ON T_FPM_LOG_CHAINERROR ( FRESULTENTRYID ,FEXECRECORDID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RESULTENTRYID2') CREATE INDEX IDX_RESULTENTRYID2 ON T_FPM_LOG_BIZBILLERROR ( FRESUTLENTRYID ,FBIZBILLID );


/**End D:\software\PDM_UPGRADE\PDM1\FPM_constraint.sql **/
