Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E12245-01 |
|
|
View PDF |
Applies To
Description
Gets the original field name used in the SELECT
statement in the dynaset.
Usage
set field_name = oradynaset.FieldOriginalName(index)
Arguments
Arguments | Description |
---|---|
[in ] index |
An Integer specifying the field index of the original field name as it appears in the SQL statement. |
Data Type
String
Remarks
The FieldOriginalName
property returns a string containing the original column name specified in the SQL statement during dynaset creation. This property is useful when a SQL statement contains SCHEMA.TABLE.COL
as the name of the field. This enables duplicate column names to be referenced. Another way to avoid duplicate columns is to specify an alias in the SQL statement.