|Oracle Call Interface Programmer's Guide
Part Number A89857-01
More OCI Relational Functions, 24 of 97
Gets the length of a LOB.
The service context handle.
An error handle you can pass to
OCIErrorGet() for diagnostic information in the event of an error.
A LOB locator that uniquely references the LOB. For internal LOBs, this locator must be a locator that was obtained from the server specified by
svchp. For FILEs, the locator can be set by
OCILobFileSetName(), by a
SELECT statement, or by
On output, it is the length of the LOB if the LOB is not
NULL. For character LOBs, it is the number of characters, for binary LOBs and
BFILEs it is the number of bytes in the LOB.
Gets the length of a LOB. If the LOB is
NULL, the length is undefined. The length of a FILE includes the EOF, if it exists. The length of an empty internal LOB is zero.
Regardless of whether the client-side character set is varying-width, the output length is in characters for
NCLOBs, and in bytes for