/**Begin D:\PDM_UPGRADE\PDM1\HRSS_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRSS_ESSYNCSCHEME', 'T_HRSS_ESSYNCSCHEME', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRSS_ESSYNCSCHEME') CREATE INDEX IDX_HRSS_ESSYNCSCHEME ON T_HRSS_ESSYNCSCHEME ( FSEARCHOBJID );


 EXEC P_ALTERPK 'PK_HRSS_ESSYNRECORD', 'T_HRSS_ESSYNRECORD', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRSS_ESSYNRECORD') CREATE INDEX IDX_HRSS_ESSYNRECORD ON T_HRSS_ESSYNRECORD ( FESSYNCSCHEMEID );



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