16.20 - Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)
FNC_LobLength_t
FNC_LobOpen ( LOB_LOCATOR      object,
              LOB_CONTEXT_ID  *ctxid,
              FNC_LobLength_t  start,
              FNC_LobLength_t  maxlength )
LOB_LOCATOR object
the object.
LOB_CONTEXT_ID *ctxid
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.