Executing an SQL statement
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- 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.