Oracle Objects for OLE C++ Class Library
Release 9.0.1

Part Number A90172-01

Home

Book List

Contents

Master Index

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.


 
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.

Home

Book List

Contents