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

 EXEC P_ALTERPK 'PK_HRPTMC_RPTCOMREF', 'T_HRPTMC_RPTCOMREF', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_RPTCOMREF') CREATE INDEX IDX_HRPTMC_RPTCOMREF ON T_HRPTMC_RPTCOMREF ( FRPTMANAGEID );

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