CREATE OR REPLACE TRIGGER GERA_ID_UPDATERCONFIGHISTCX
BEFORE INSERT ON UPDATERCONFIGHISTCX FOR EACH ROW
BEGIN
  SELECT SEQ_UPDATERCONFIGHISTCX.NEXTVAL
    INTO :NEW.ID
    FROM DUAL;
END;
/
