LOB Support |Teradata Preprocessor2 for Embedded SQL (PP2) - LOB Support - Teradata Preprocessor2

Teradata® Preprocessor2 for Embedded SQL Programmer Guide - 20.00

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata Preprocessor2
Release Number
20.00
Published
October 2023
ft:locale
en-US
ft:lastEdition
2023-11-20
dita:mapPath
nyr1691484085721.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
xfi1470440464166
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 following statements 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;