Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
Applies To
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. |
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