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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_HRCS_ODC_ENTITYNUM') CREATE INDEX IDX_T_HRCS_ODC_ENTITYNUM ON T_HRCS_ODC_FIELD_PERM ( FENTITYNUM );



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