LOB Support - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide

Product
Teradata Preprocessor2
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-06-19
dita:mapPath
whb1544831946911.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

The LOB feature includes Binary Large Objects (BLOBs) and Character Large Objects (CLOBs). The two methods used to handle the LOB datatype are inline and deferred. The inline method limits the row size for client to server transfers with a maximum message size of 1 megabyte. The deferred method can send more than 1 megabyte of data.

PP2 only supports the inline method for handling LOB datatypes.

Use the statements below to enable or disable LOB support.

Enabling LOB support

Use the following statement:

EXEC SQL SET USINGLOBDATA ON;
You can send or retrieve Non-LOB data with the USINGLOBDATA setting ON.

Disabling LOB support

Use the following statement:

EXEC SQL SET USINGLOBDATA OFF;