Oracle Objects for OLE
Release 9.0.1

Part Number A90173-01

Home

Book List

Contents

Master Index

Feedback

OriginalName Method

Example

Applies To

OraField Object

Description

Returns the original column name used in the "select" statement in the dynaset .(as opposed to the name of the field as it appears on the server returned by the Name property). Not available at design time and read-only at run time.

Usage

field_name = Orafield.OriginalName

Remarks

orafield.OriginalName returns the name of the specified OraField object. This returns the Original column name specified in the SQL statement during dynaset creation. This property is useful when SQL statement contains 'schema.table.col' as the 'Name' of the field. It enables duplicate Col names to be referenced. (Duplicate column names could be avoided altogether by using aliases in the SQL statement.)


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents