freeSQL
The EGL freeSQL statement frees any resources associated with a dynamically prepared SQL statement, closing any open cursor associated with that SQL statement.
- preparedStatementID
- An identifier that identifies a prepare statement. No error occurs if that statement did not run previously.
After you issue a freeSQL statement, you cannot run the execute, open, or get statement for the prepared SQL statement without reissuing the prepare statement.
Related concepts
SQL support
Related reference
execute
get
open
prepare
Syntax diagram