DynasetOption Property

Applies To

OraParameter Object

Description

Specifies the dynaset option for a dynaset created from the PL/SQL cursor.

Usage

oraparameter.DynasetOption = dyn_opts

Remarks

This property should be called before executing a PL/SQL procedure containing a cursor variable. By default, the dynaset is created with the ORADYN_READONLY option.

The possible values are:

Possible Values Value Description
ORADYN_DEFAULT &H0& Accepts the default behavior.
ORADYN_NO_BLANKSTRIP &H2& Does not remove trailing blanks from character string data retrieved from the database.
ORADYN_NOCACHE &H8& Does 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.
ORADYN_NO_MOVEFIRST &H40& Does not force a MoveFirst operation when a dynaset is created. BOF and EOF are both True.