/**Begin D:\PDM_UPGRADE\PDM1\HRPTMC_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRPTMC_ANOBJCONFIGHIS', 'T_HRPTMC_ANOBJCONFIGHIS', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_ANOBJCONFIGHIS') CREATE INDEX IDX_HRPTMC_ANOBJCONFIGHIS ON T_HRPTMC_ANOBJCONFIGHIS ( FANOBJID ,FSTARTTIME ,FENDTIME );


 EXEC P_ALTERPK 'PK_HRPTMC_REPORTCONFIGHIS', 'T_HRPTMC_REPORTCONFIGHIS', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_REPORTCONFIGHIS') CREATE INDEX IDX_HRPTMC_REPORTCONFIGHIS ON T_HRPTMC_REPORTCONFIGHIS ( FREPORTID ,FSTARTTIME ,FENDTIME );



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