SQL-02112
SELECT..INTO returns too many rows
Cause
A SELECT...INTO statement returned more rows than can be stored in the host variable provided.
Action
There are 3 possible solutions:
- Use the precompiler option select_error=no.
- Declare a host variable with a larger array dimension.
- Declare a cursor or cursor variable for the select statement.