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

 EXEC P_ALTERPK 'PK_HRSS_COMOPERATOR', 'T_HRSS_COMOPERATOR', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_HRSS_COMOPERATOR') CREATE INDEX IDX_HRSS_COMOPERATOR ON T_HRSS_COMOPERATOR ( FNUMBER );


 EXEC P_ALTERPK 'PK_HRSS_COMOPERATOR_L', 'T_HRSS_COMOPERATOR_L', 'FPKID', '1';

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



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