Assessing result sets obtained by defining a view as buffer technique
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Assessing result sets obtained by defining a view as buffer technique
The buffer in the previous procedure defines two returned values
for a stored procedure—an INTEGER and a CHARACTER value—in
that order. If the data types do not match those returned by the
stored procedure, the procedure returns more than two values, or
returns the values in a different order than you specified, you receive
a run-time error.
The easiest way to create a buffer that accepts data from stored
procedures is to use the text of the SQL SELECT statement
from the stored procedure. This ensures that you define your data
types correctly and in the correct order.