Oracle Error ORA-01002 fetch out of sequence
Cause: 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:
Diagnosis: One of the less obvious reasons for getting this is that you are using the dbms_sql package and call dbms_sql.fetch_rows without having first called dbms_sql.execute
|
|
|
Causa: In un programma di lingua ospite, una chiamata di PREND si è pubblicata dalla sequenza. Un riuscito analizz-e-esegue la chiamata deve pubblicarsi prima di un prend. Ciò può accadere se un tentativo fosse fatto DI PRENDERE da un insieme attivo dopo che tutte le annotazioni siano state prese. Ciò può essere causata prendendo da un PRESCELTO PER il cursore dell'AGGIORNAMENTO dopo un commett. Un ciclo del cursore di PL/SQL implicitamente ampiezze e può anche causare questo errore.
Azione: Analizzare ed eseguire una dichiarazione di SQL prima di tentare di prendere i dati.
|
|
|
|
|
|
|
|