Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

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

FieldOriginalName Property

Applies To

OraDynaset

Description

Gets the original field name used in the SELECT statement in the dynaset.

Arguments

[in] index
An integer specifying the field index of the original name of the field as it appears in the SQL.
Usage

set field_name = oradynaset.FieldOriginalName(index)

Remarks

FieldOriginalName returns a string containing the original column name specified in the SQL statement during dynaset creation. This is property is useful when SQL statement contains SCHEMA.TABLE.COL as the name of the field.

This enables duplicate col names to be referenced. An alternate way to avoid duplicate columns is to have an alias specified in the SQL statement.

Data Type

String

See Also

FieldIndex

FieldName

FieldOriginalNameIndex