Skip Headers
Oracle® Objects for OLE C++ Class Library Developer's Guide
10g Release 2 (10.2)

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

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.