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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_FEBANKCGNO') CREATE INDEX IDX_FEBANKCGNO ON T_BEI_APPSCOPEENTITY ( FEBANKCGNO );



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