/**Begin D:\PDM_UPGRADE\PDM1\BEI_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_ELECRECEIPT_FLAG') CREATE INDEX IDX_BEI_ELECRECEIPT_FLAG ON T_BEI_ELECRECEIPT ( FBANKCHECKFLAG );

EXEC p_DropIdx 'IDX_PK_T_BEI_BANKLOGENTRY_H_FID', 'T_BEI_BANKLOGENTRY_H';
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_BANKLOGENTRY_H_FID') CREATE INDEX IDX_BEI_BANKLOGENTRY_H_FID ON T_BEI_BANKLOGENTRY_H ( FID );


/**End D:\PDM_UPGRADE\PDM1\BEI_constraint.sql **/
