Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Cartridge Functions, 24 of 43
Gets the string value for the specified key. The valno
'th value (starting with 0) is returned.
sword OCIExtractToStr( dvoid *hndl, OCIError *err, text *keyname, uword valno, text *retval, uword buflen );
The OCI environment or user session handle.
The OCI error handle; if there is an error, it is recorded in err
and this function returns OCI_ERROR; diagnostic information can be obtained by calling OCIErrorGet()
.
Key name.
Which value to get for this key.
The actual null-terminated string value.
The length of the buffer for retval
.
OCI_SUCCESS,
OCI_INVALID_HANDLE,
OCI_NO_DATA,
OCI_ERROR.
OCI_NO_DATA means that there is no valno'th value for this key.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|