OASQLIP_close_cursor
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
The OASQLIP_close_cursor function closes the cursor and clears the result table. It frees the Exec memory tree if the IP had a separate memory tree for statement execution. This function is called in response to the client performing free on a statement handle or when the end of the result set is reached.
int OASQLIP_close_cursor(SQLIP_HSTMT sqlip_hstmt)
Parameters for the OASQLIP_close_cursor Function
| Parameter | Type | Description |
| INPUT | ||
| sqlip_hstmt | SQLIP_HSTMT | Statement handle |
| RETURN | ||
| int | OADS_SUCCESS OADS_ERROR |