/**Begin D:\PDM_UPGRADE\PDM1\BEI_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BEI_MATCHDETAILENTRY', 'T_BEI_MATCHDETAILENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_MATCHDETAILENTRY_FK') CREATE INDEX IDX_BEI_MATCHDETAILENTRY_FK ON T_BEI_MATCHDETAILENTRY ( FID );



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