Oracle® Objects for OLE Developer's Guide 11g Release 2 (11.2) for Microsoft Windows Part Number E17727-03 |
|
|
PDF · Mobi · ePub |
Gets the original field name used in the SELECT
statement in the dynaset.
set field_name = oradynaset.FieldOriginalName(index)
Arguments | Description |
---|---|
[in ] index |
An Integer specifying the field index of the original field name as it appears in the SQL statement. |
String
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.