 EXEC P_ALTERPK 'PK_HRCS_RCRELATION', 'T_HRCS_RCRELATION', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_RCRELATION') CREATE INDEX IDX_HRCS_RCRELATION ON T_HRCS_RCRELATION ( FID );