Freeing statement handles in a DB2 UDB CLI application
SQLFreeStmt() ends processing for a particular statement handle.
This function can be used to do one or more of the following tasks:
- Unbind all columns
- Unbind all parameters
- Close any cursors and discard the results
- Drop the statement handle, and release all associated resources
The statement handle can be reused provided it is not dropped.
Parent topic:
Transaction processing task in a DB2 UDB CLI application