LOB Support - Preprocessor2 for Embedded SQL

Teradata Preprocessor2 for Embedded SQL Programmer Guide

Product
Preprocessor2 for Embedded SQL
Release Number
15.00
Language
English (United States)
Last Update
2018-09-27
dita:id
B035-2446
lifecycle
previous
Product Category
Teradata Tools and Utilities

LOB Support

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.

Note: PP2 only supports the inline method for handling LOB datatypes.

Use the statements below to enable or disable LOB support.

To enable LOB support

✔ Use the following statement:

EXEC SQL SET USINGLOBDATA ON;

Note: You can send or retrieve Non‑LOB data with the USINGLOBDATA setting ON.

To disable LOB support

✔ Use the following statement:

EXEC SQL SET USINGLOBDATA OFF;