- finalize statementprocedure
Finalize statement. Usually, the statement is reset and added to the statement cache. If the statement is transient, or cannot be cached for some reason, it is finalized immediately.
Finalizing a finalized statement, or a statement on a closed database, is a no-op.