OASQLIP_open_output_cursor
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
This function returns a cursor for accessing output parameters and/or output return values if the statement is a stored procedure call. The cursor contains a single row with one column for the return value and one column for each output parameter. Calling OASQLIP_get_numcols after calling this function returns the description of the output cursor.
int OASQLIP_open_output_cursor(
SQLIP_HSTMT sqlip_hstmt,
OADS_LEN * piNumResRows)
Parameters for OASQLIP_open_output_cursor
| Parameter | Type | Description |
| INPUT | ||
| sqlip_hstmt | SQLIP_HSTMT | Statement handle. |
| OUTPUT | ||
| piNumResRows | OADS_LEN * | Number or rows in this cursor. The value should be 1 or 0. |
| RETURN | ||
| int | OADS_SUCCESS OADS_ERROR |