Example: Deferred Mode Processing of CLOBs Using the DEFERRED BY NAME Phrase - Teradata Vantage - Analytics Database

SQL Data Manipulation Language

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-04-02
dita:mapPath
pon1628111750298.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
esx1472246586715
lifecycle
latest
Product Category
Teradata Vantageā„¢

The following example shows the use of the BY NAME phrase for deferred mode processing of large objects using BTEQ and CLOBs.

     .SET INDICDATA ON

     CREATE TABLE tabf (
       i1 INTEGER,
       v1 VARCHAR(256));

     INSERT INTO tabf (1, 'c:\temp\vconfig.txt');

     .EXPORT INDICDATA FILE=scg0720.dat

     SELECT *
     FROM tabf;

     .EXPORT reset

     CREATE TABLE tabc (
     i1 INTEGER,
     c1 CLOB);

     .IMPORT INDICDATA FILE=scg0720.dat

     USING (a INTEGER,
            b CLOB AS DEFERRED BY NAME)
     INSERT INTO tabc (:a, :b);