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

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


 EXEC P_ALTERPK 'PK_HRPTMC_USERDISPSCM_L', 'T_HRPTMC_USERDISPSCM_L', 'FPKID', '1';

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

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