Executing an SQL statement
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Executing an SQL statement
If an SQL statement does not generate a result set, stored procedures can execute the statement in one of two ways:
-
Immediate execution — Using methods of the
SQLIStatementclass, the procedure executes a statement once. -
Prepared execution — Using methods of the
SQLPStatementclass, the procedure prepares a statement for multiple executions in a procedure loop.