Skip Headers

Oracle Call Interface Programmer's Guide
Release 2 (9.2)

Part Number A96584-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

OCI Relational Functions, 27 of 38


OCIParamSet()

Purpose

Used to set a complex object retrieval (COR) descriptor into a COR handle.

Syntax

sword OCIParamSet ( dvoid          *hndlp,
                    ub4            htype,
                    OCIError       *errhp,
                    CONST dvoid    *dscp,
                    ub4            dtyp,
                    ub4            pos );

Parameters

hndlp (IN/OUT)

Handle pointer.

htype (IN)

Handle type.

errhp (IN/OUT)

An error handle you can pass to OCIErrorGet() for diagnostic information in the event of an error.

dscp (IN)

Complex object retrieval descriptor pointer.

dtyp (IN)

Descriptor type. The descriptor type for a COR descriptor is OCI_DTYPE_COMPLEXOBJECTCOMP.

pos (IN)

Position number.

Comments

The COR handle must have been previously allocated using OCIHandleAlloc(), and the descriptor must have been previously allocated using OCIDescriptorAlloc(). Attributes of the descriptor are set using OCIAttrSet().

See Also:

For more information about complex object retrieval, see "Complex Object Retrieval".

Related Functions

OCIParamGet()

Bind, Define, and Describe Functions

This section describes the bind, define, and describe functions.

Table 15-3 Bind, Define, and Describe Functions 
Function Purpose

OCIBindArrayOfStruct()

Set skip parameters for static array bind

OCIBindByName()

Bind by name

OCIBindByPos()

Bind by position

OCIBindDynamic()

Sets additional attributes after bind with OCI_DATA_AT_EXEC mode

OCIBindObject()

Set additional attributes for bind of named data type

OCIDefineArrayOfStruct()

Set additional attributes for static array define

OCIDefineByPos()

Define an output variable association

OCIDefineDynamic()

Sets additional attributes for define in OCI_DYNAMIC_FETCH mode

OCIDefineObject

Set additional attributes for define of named data type

OCIDescribeAny()

Describe existing schema objects

OCIStmtGetBindInfo()

Get bind and indicator variable names and handle


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback