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

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.