Oracle Objects for OLE C++ Class Library
Release 9.2

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

Master Index

Feedback

SetDynasetOption

Applies To

OParameter

Description

Set the dynaset option for the dynaset created from the PL/SQL cursor.

Usage

void SetDynasetOption(unsigned int option);

Remarks

This should be called before executing the PL/SQL procedure containing cursor variable. By default, the dynaset is created with ODYNASET_READONLY option. The possible values are:

Constant
Value
Description
ODYNASET_DEFAULT
&H0&
Accept the default behavior.
ODYNASET_NO_BLANKSTRIP
&H2&
Do not strip trailing blanks from character string data retrieved from the database.
ODYNASET_NOCACHE
&H8&
Do not create a local dynaset data cache without the local cache, previous rows within a dynaset are unavailable; however, increased performance results during retrieval of data from the database (move operations) and from the rows (field operations). Use this option in applications that make single passes through the rows of a dynaset for increased performance and decreased resource usage.
ODYNASET_NO_MOVEFIRST
&H40&
Does not force a movefirst on dynaset creation. BOF and EOF are both TRUE.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

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

Master Index

Feedback