16.20 - Usage Notes - 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)

Use the persistent object reference that FNC_LobLoc2Ref creates to copy LOB values into the intermediate storage required for aggregate UDFs.

The arguments are validated to the extent possible. If an argument is not valid, the request that invoked the UDF fails and typically returns an error that looks like this:

7554 Invalid CONTEXT_ID LOCATOR argument to LOB access function in
UDF  database_name.udf_name.

Control does not return to the UDF.