Without the LOAD-RESULT-INTO option
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
You use the RUN STORED-PROC statement with the
send-sql-statement option and pass the PL/SQL statements as a parameter.
The syntax of the statement must be valid PL/SQL syntax. The following example shows how the
code presented passes a SELECT statement as a parameter.
Passing a SELECT statement as a parameter
|
This example returns
the name of all customers whose name begins with
A. You must read the results into a buffer as you would with a stored
procedure called by an ABL procedure. You can read the results into
the proc-text-buffer as defined in the example above.
Alternatively, you can define your own buffer from within your data source
that can accept other data type as well as the CHARACTER data
type.