21 OCI Any Type and Data Functions

This chapter describes the OCI Any Type and Data functions.

See Also:

For code examples, see the demonstration programs included with your Oracle Database installation. For additional information, see OCI Demonstration Programs.

This chapter contains these topics:

Introduction to Any Type and Data Interfaces

This section describes the OCI Any Type and Data functions in detail.

Conventions for OCI Functions

Describes the conventions for OCI functions. The entries for each function may also contain function return values.

See the Conventions for OCI Functions for the conventions used in describing each function.

The OCI Any Type and Data functions typically return one of the values described in the following table.

Table 21-1 Function Return Values

Return Value Meaning

OCI_SUCCESS

The operation succeeded.

OCI_ERROR

The operation failed. The specific error can be retrieved by calling OCIErrorGet() on the error handle passed to the function.

OCI_INVALID_HANDLE

The OCI handle passed to the function is invalid.

See Also:

Error Handling in OCI for more information about return codes and error handling

Function Return Values

The OCI Any Type and Data functions typically return one of the values described in Table 21-2.

Table 21-2 Function Return Values

Return Value Meaning

OCI_SUCCESS

The operation succeeded.

OCI_ERROR

The operation failed. The specific error can be retrieved by calling OCIErrorGet() on the error handle passed to the function.

OCI_INVALID_HANDLE

The OCI handle passed to the function is invalid.

See Also:

"Error Handling in OCI" for more information about return codes and error handling