I have two procedures that do identical things, one uses a Standard cursor that it loops through:
CURSOR Cursor_SP IS
SELECT ID, CCT_ID
FROM SP_2
WHERE Inserted_By = 'I';
BEGIN
FOR List_SP IN Cursor_SP LOOP
(Lots of data crunching with other tables)
END LOOP;
END;
The...
I'm using Oracle 8i and doing a data load of almost 800000 records. I then need to update all these records after doing some complex searching on other tables.
However I keep getting this error (normally only a couple of hundred records short as well!):
ORA-01555: snapshot too old: rollback...
I'm trying to use a connect by within a dynamic cursor but I keep encountering the error:
ORA-09999: Message 9999 not found; product=RDBMS; facility=ORA
ORA-02063: preceding line from TEST.WORLD
Here's the sql from my dynamic cursor:
select hier_view.ho_id, hier_view.lo_id...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.