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

 EXEC P_ALTERPK 'PK_HRPTMC_QUERYSCMCHG', 'T_HRPTMC_QUERYSCMCHG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_QUERYSCMCHG') CREATE INDEX IDX_HRPTMC_QUERYSCMCHG ON T_HRPTMC_QUERYSCMCHG ( FSCHEMEID );





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