OCIStmtRelease Documentation Error Regarding Key Parameter (Doc ID 1318778.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 11.2.0.1 - Release: 9.2 to 11.2
Information in this document applies to any platform.

Goal

The Oracle Call Interface Programmer's Guide states in the OCIStmtRelease description that key (IN) is "returned by OCIStmtPrepare2()".  This is not correct; key is a user defined value that is passed IN to both functions.

The demo program cdemostc.c shows how to use this parameter.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms