Oracle Objects for OLE C++ Class Library
Release 8.1.7

Part Number A85258-01

Library

Product

Contents

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.


 
Oracle
Copyright copy; 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents