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

 EXEC P_ALTERPK 'PK_HROM_RPTCOMMONSORT', 'T_HROM_RPTCOMMONSORT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_RPTCOMMONSORT') CREATE INDEX IDX_RPTCOMMONSORT ON T_HROM_RPTCOMMONSORT ( FENTITYSORTFIELDID ,FINDEX );


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