Oracle Objects for OLE C++ Class Library Release 9.2 Part Number A95896-01 |
|
Applies To
Description
This method returns the length of the field as stored locally on the client.
Usage
long GetFieldSize(int index) const
long GetFieldSize(const char *fieldname) const
Arguments |
Description |
---|---|
index |
The 0-based index of the field. The index is the position of the field in the SQL query that created the current record set. |
fieldname |
The name of the field, as expressed in the SQL query |
This method will return turn number of bytes used to store the field on the client. It will always return a 0 for long or long raw fields.
To get the size of a long or long raw field as stored on the server, use GetFieldServerSize.
Return Value
The size of the field; 0 on error.
|
Copyright © 1998, 2002 Oracle Corporation. All Rights Reserved. |
|