Skip Headers

Oracle® Call Interface Programmer's Guide
10g Release 1 (10.1)

Part Number B10779-01
Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page

Go to previous page
Go to current chapter
Go to next page
View PDF

Introduction to Datatype Mapping and Manipulation Functions

This chapter describes the OCI datatype mapping and manipulation functions in detail.

See Also:

For more information about the functions listed in this chapter, refer to Chapter 11, "Object-Relational Datatypes in OCI"

The Function Syntax

The entries for each function contain the following information:


A brief statement of the purpose of the function.


The function declaration.


Detailed information about the function if available. This may include restrictions on the use of the function, or other information that might be useful when using the function in an application.


A description of each of the function's parameters. This includes the parameter's mode. The mode of a parameter has three possible values, as described next:

Table 18-1 Mode of a Parameter  
Mode Description


A parameter that passes data to the OCI


A parameter that receives data from the OCI on this call


A parameter that passes data on the call and receives data on the return from this or a subsequent call.


A description of what value is returned by the function if the function returns something other than the standard return codes listed in Table 18-2, "Function Return Values".

Related Functions

A list of related functions.

Datatype Mapping and Manipulation Function Return Values

The OCI datatype mapping and manipulation functions typically return one of the following values:

Table 18-2 Function Return Values
Return Value Meaning


The operation succeeded


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


The OCI handle passed to the function is invalid.

Function-specific return information follows the description of each function in this chapter.

See Also:

For more information about return codes and error handling, see the section "Error Handling in OCI"

Functions Returning Other Values

Some functions return values other than those listed in Table 18-2. When using these function be sure to take into account that they return a value directly from the function call, rather than through an OUT parameter.

Server Round Trips for Datatype Mapping and Manipulation Functions

For a table showing the number of server round trips required for individual OCI datatype mapping and manipulation functions, refer to Appendix C, "OCI Function Server Round Trips".


For more information about these functions, including some code examples, refer to Chapter 11, "Object-Relational Datatypes in OCI".