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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRPTMC_PERMRULE') CREATE INDEX IDX_HRPTMC_PERMRULE ON T_HRPTMC_PERMRULE ( FANOBJID );



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