Getting the Length of a LOB - Advanced SQL Engine - Teradata Database

SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
rin1593638965306.ditamap
dita:ditavalPath
rin1593638965306.ditaval
dita:id
B035-1147
lifecycle
previous
Product Category
Teradata Vantageā„¢

To get the length in bytes of a LOB, use the FNC_GetLobLength Teradata library function. The function returns the length as an FNC_LobLength_t type, defined in the sqltypes_td.h header file like this:

typedef unsigned long FNC_LobLength_t;

For detailed information on FNC_GetLobLength, see C Library Functions.