Free
Frees resources held by the statement.
Client
Int32
—p_operation
-
Operation code (
op_free_statement
—67
) Int32
—p_sqlfree_statement
-
Statement handle
Int32
—p_sqlfree_option
-
DSQL_close
—1
Closes the cursor opened after statement execute.
DSQL_drop
—2
Releases the statement handle.
DSQL_unprepare
—4
Firebird 2.5 or higher
Close resources associated with statement handle, and unprepares the current statement text.The statement handle itself is retained.It is not necessary to unprepare before preparing a new statement text on the same handle.
The server treats these as flag values, so they can be combined with OR, but doing so makes little sense, as an unprepare also closes the cursor, and a drop effectively closes the cursor and unprepares the current statement text.