/**Begin D:\PDM_UPGRADE\PDM1\TM_constraint.sql **/
 EXEC P_ALTERPK 'PK_T_TM_OPTIONCOMB_L', 'T_TM_OPTIONCOMB_L', 'FPKID', '1';

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


 EXEC P_ALTERPK 'PK_T_TM_COMBTRADE_L', 'T_TM_COMBTRADE_L', 'FPKID', '1';

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



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