16.20 - CLOB and BLOB Type Mapping - 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)

CLOB and BLOB SQL types as parameters or the return value of a CREATE FUNCTION or REPLACE FUNCTION statement map to java.sql.Clob and java.sql.Blob classes respectively.

The implementing class of java.sql.Clob is com.teradata.fnc.Clob and the implementing class of java.sql.Blob is com.teradata.fnc.Blob.

For details on the classes, including methods that you use to get a Blob or Clob for the result of a scalar or aggregate UDF, see Java Application Classes.