/**Begin D:\PDM_UPGRADE\PDM1\HRIC_constraint.sql **/
 EXEC P_ALTERPK 'PK_HRIC_MICCONFIG', 'T_HRIC_MICCONFIG', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_T_HRIC_MICCONFIG_FAPP') CREATE INDEX IDX_T_HRIC_MICCONFIG_FAPP ON T_HRIC_MICCONFIG ( FAPPSCOPEID );


 EXEC P_ALTERPK 'PK_HRIC_MICCONFIG_L', 'T_HRIC_MICCONFIG_L', 'FPKID', '1';

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



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