ipProcedure
- Last Updated: May 12, 2026
- 1 minute read
- OpenAccess SDK
- Version 8.1
- Documentation
If the IP is to support stored procedure calls that return one result set, you must implement this method in your IP. The OpenAccess SDK SQL Engine passes stored procedure calls to this method for procedures that will return, at most, one result set and the result set is pre-defined. Stored procedure calls are invoked using the ODBC stored procedure invocation syntax.
ipGetSupport should return true for IP_SUPPORT_PROCEDURE.
Refer to Stored Procedure Processing in the OpenAccess SDK SQL Engine Programmer’s Guide for more information.
int ipProcedure(
int64 hstmt,
int iType,
out long piNumResRows)
Parameters for ipProcedure
| Parameter | Type | Description |
| IN | ||
| hstmt | int64 | The statement handle of the currently active statement |
| OUT | ||
| iType | int | Type of operation requested: |
| piNumResRows | long | The number of rows affected by this operation |
| RETURN | ||
| int | DAM_SUCCESS – on success DAM_FAILURE – on failure |