/**Begin D:\PDM_UPGRADE\PDM1\BEI_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_BEI_GENBALANCELOG', 'T_BEI_GENBALANCELOG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BEI_GENBALANCELOG') CREATE INDEX IDX_BEI_GENBALANCELOG ON T_BEI_GENBALANCELOG ( FCURRENCYID ,FACCOUNTBANKID );



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