Oracle Call Interface Programmer's Guide Release 9.0.1 Part Number A89857-01 |
|
More OCI Relational Functions, 93 of 97
Converts a Universal ROWID
to character extended (base 64) representation.
sword OCIRowidToChar ( OCIRowid *rowidDesc, OraText *outbfp, ub2 *outbflp OCIError *errhp );
The ROWID
descriptor which is allocated by OCIDescriptorAlloc()
and populated by a prior execution of a SQL statement.
Pointer to the buffer where the character representaion is stored after successful execution of this call.
Pointer to the output buffer length. Before execution, the buffer length contains the size of outbfp. After execution it contains the number of bytes converted.
In the event of truncation during conversion, outbfp contains the length required to make conversion successful. An error is also returned.
An error handle you can pass to OCIErrorGet()
for diagnostic information in the event of an error.
After this conversion, the ROWID
in character format can be bound with the OCIBindByPos()
or OCIBindByName()
calls, and used to query a row at the given ROWID
.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|