/**Begin D:\soft\PDM_UPGRADE\PDM1\HRPTMC_constraint.sql **/

 EXEC P_ALTERPK 'PK_HRPTMC_HRRPTLOG', 'T_HRPTMC_HRRPTLOG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_HRRPTLOG') CREATE INDEX IDX_HRPTMC_HRRPTLOG ON T_HRPTMC_HRRPTLOG ( FLOGID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_LOGBIZID') CREATE INDEX IDX_HRPTMC_LOGBIZID ON T_HRPTMC_HRRPTLOG ( FBIZOBJID );


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