Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

GetFieldOriginalNameIndex Method

Applies To

ODynaset

Description

This method returns the index of the field indicated by original fieldname used in the "select" statement.

Usage

int GetFieldOriginalNameIndex(const char *fieldname) const

Arguments

fieldname
The original name of the field as it appears in the SQL .
Remarks

Accessing fields of a dynaset by index is more efficient than accessing them by name. Therefore, if you need to access a particular field many times, use this method to translate its original name into its index.

Return Value

The 0-based index of the field; -1 on error.


 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback