/**Begin D:\PDM_UPGRADE\PDM1\HRCS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRCS_ENTITYSPECFUNC', 'T_HRCS_ENTITYSPECFUNC', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ENTITYSPECFUNC') CREATE INDEX IDX_HRCS_ENTITYSPECFUNC ON T_HRCS_ENTITYSPECFUNC ( FENTITYTYPEID );


 EXEC P_ALTERPK 'PK_HRCS_ENTITYSPECFUNCGEN', 'T_HRCS_ENTITYSPECFUNCGEN', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRCS_ENTITYSPECFUNCGEN') CREATE INDEX IDX_HRCS_ENTITYSPECFUNCGEN ON T_HRCS_ENTITYSPECFUNCGEN ( FENTITYTYPEID );



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