/**Begin D:\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
 
 EXEC P_ALTERPK 'PK_HRCS_ENTITYCROSSOT', 'T_HRCS_ENTITYCROSSOT', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ENTITYCROSSOT') CREATE INDEX IDX_HRCS_ENTITYCROSSOT ON T_HRCS_ENTITYCROSSOT ( FENTRYID );


 EXEC P_ALTERPK 'PK_HRCS_CROSSOT', 'T_HRCS_CROSSOT', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_CROSSOT') CREATE INDEX IDX_HRCS_CROSSOT ON T_HRCS_CROSSOT ( FOTCLASSID );


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