/**Begin  **/
 EXEC P_ALTERPK 'PK_T_BD_MANUSTRATEGY_INV', 'T_BD_MANUSTRATEGY_INV', 'FPKID', '1';

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

 EXEC P_ALTERPK 'PK_T_BD_MANUSTRATEGY_RANGE', 'T_BD_MANUSTRATEGY_RANGE', 'FPKID', '1';

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

 EXEC P_ALTERPK 'PK_T_BD_MANUSTRATEGY_WAY', 'T_BD_MANUSTRATEGY_WAY', 'FPKID', '1';

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

  EXEC P_ALTERPK 'PK_T_BD_MANUSTRATEGY', 'T_BD_MANUSTRATEGY', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_MANUSTRATEGY') CREATE INDEX IDX_BD_MANUSTRATEGY ON T_BD_MANUSTRATEGY ( FNUMBER );


 EXEC P_ALTERPK 'PK_T_BD_MANUSTRATEGY_L', 'T_BD_MANUSTRATEGY_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_MANUSTRATEGY_L') CREATE INDEX IDX_BD_MANUSTRATEGY_L ON T_BD_MANUSTRATEGY_L ( FID ,FLOCALEID );


/**End  **/
