Skip Headers

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

Part Number B10119-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

GetOriginalName Method

Applies To

OField

Description

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

Usage

const char * GetOriginalName(void)

Remarks

GetFieldName returns a pointer to a null-terminated string containing the Original name.

This method returns the original column name specified in the sql statement during dynaset

creation. This is property is useful when the SQL statement contains 'schema.table.col' as the 'name' of the field.

The actual memory that the pointer points to is managed by the object. It should not be freed by the caller. It will be freed when the object is destroyed or closed.

Return Value

A pointer to a string if successful; NULL if not.