16.20 - Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
April 2020
Content Type
Programming Reference
Publication ID
English (United States)
FNC_LobOpen_CL (void            *locator,
                LOB_CONTEXT_ID  *ctxid,
                FNC_LobLength_t  start,
                FNC_LobLength_t  maxlength)
void *locator
a client locator.
a context identifier.
FNC_LobLength_t start
the starting byte offset, relative to 0, for the read operation. If this value is greater than or equal to the length of the object, then the resulting data stream will have a zero length.
FNC_LobLength_t maxlength
the maximum number of bytes to read. If this value is 0, or if start + maxlength is greater than the object length, then the read operation terminates when the length of the object is exhausted.