Returns the number of bytes of text or image data that remain to be read for the current row.
DBINT dbtextsize(dbproc) DBPROCESS *dbproc;
A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.
The following table lists the return values for dbtextsize:
dbtextsize returns |
To indicate |
---|---|
>= 0 |
The number of bytes that remain to be read. Zero indicates NO_MORE_ROWS. |
-1 |
An error has occurred. |
-2 |
dbtextsize has been called for RPC data. |
dbtextsize assumes that there is only one column and that this column is of datatype text or image.
dbtextsize is useful when an application does not know how large a text or image value is.
dbtextsize does not work with RPC text data.