sql - Getting "too many rows" error inside a "for" cursor loop -


I have a trigger in which there are two cursor loops, which is nested inside such other:

  In the internal ladder for the outer staircase in the internal ladder, in the internal loop - some calculations end loop; End loop;  

This is throwing the following error in any of the following:

ORA-01422: more accurate fetch return than requested number of rows

We Trying to determine why it's coming from an hour or more .. But has this error never happened?

Besides .. I'm assuming that the internal loop automatically stops and the external loop goes to the next record every time, I hope this is correct.

I know, ORA-01422 starts only when When you have a SELECT ... INTO statement in the PL / SQL block, where the selection statement gets more than 1 line, remember that a SELECT..INTO Can only get one line, if more than one row is received, then the above exception arises.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -