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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRSS_SEARCHCONFIG') CREATE INDEX IDX_HRSS_SEARCHCONFIG ON T_HRSS_SEARCHCONFIG ( FBASEDATAFIELD );


 EXEC P_ALTERPK 'PK_HRSS_SEARCHCONFIG_L', 'T_HRSS_SEARCHCONFIG_L', 'FPKID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRSS_SEARCHCONFIG_L') CREATE INDEX IDX_HRSS_SEARCHCONFIG_L ON T_HRSS_SEARCHCONFIG_L ( FLOCALEID ,FID );



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