Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
|
Applies To
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.