--外汇交易生命周期分录
/**Begin C:\Users\rd_zhixiong_w\Downloads\PDM_UPGRADE\PDM1\TM_constraint.sql **/
 EXEC P_ALTERPK 'PK_TM_FOREX_LIFECYCLE', 'T_TM_FOREX_LIFECYCLE', 'FENTRYID', '0';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TM_FOREX_LIFECYCLE') CREATE  CLUSTERED INDEX IDX_TM_FOREX_LIFECYCLE ON T_TM_FOREX_LIFECYCLE ( FID );



/**End C:\Users\rd_zhixiong_w\Downloads\PDM_UPGRADE\PDM1\TM_constraint.sql **/
