Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 102 of 106
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 representation 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, 2002 Oracle Corporation. All Rights Reserved. |
|