Bonjour,
J'ai le problème suivant sur une DB 8.1.7.
Je suis entré en exception
s724_pa_lcc2inv.p_load_lcc : ORA-01002: fetch out of sequence
Que signifie en générale le problème ORA-01002: fetch out of sequence
merci
Bonjour,
J'ai le problème suivant sur une DB 8.1.7.
Je suis entré en exception
s724_pa_lcc2inv.p_load_lcc : ORA-01002: fetch out of sequence
Que signifie en générale le problème ORA-01002: fetch out of sequence
merci
très simple. Par exemple une boucle qui contient un FETCH mais ne sort pas suffisamment tôt. Il doit manquer un EXIT sur <nom_curseur>%NOTFOUND
http://ora-01002.ora-code.com/
Cause: In a host language program, a FETCH call was issued out of sequence. A successful parse-and-execute call must be issued before a fetch. This can occur if an attempt was made to FETCH from an active set after all records have been fetched. This may be caused by fetching from a SELECT FOR UPDATE cursor after a commit. A PL/SQL cursor loop implicitly does fetches and may also cause this error.
Action: Parse and execute a SQL statement before attempting to fetch the data
Partager