Loading LOB Data into a Teradata Database Table from External Data Files - Parallel Transporter

Teradata Parallel Transporter Reference

Product
Parallel Transporter
Release Number
16.10
Published
July 2017
Language
English (United States)
Last Update
2018-06-28
dita:mapPath
egk1499705348414.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2436
lifecycle
previous
Product Category
Teradata Tools and Utilities

To load LOB data into a Teradata Database table from external data files, the Teradata PT script must use:

  • The Data Connector producer operator to read LOB data from an external data file, and
  • The Inserter operator to insert LOB data to a target table.

If the LOB columns are defined as BLOB (lengthBytes) or CLOB (lengthBytes) in the schema, data records in the external data file specified in the FileName attribute must have an 8-byte integer length indicator preceding the BLOB or CLOB data.

If the LOB columns are defined as BLOB (lengthBytes) AS DEFERRED BY NAME or CLOB (lengthBytes) AS DEFERRED BE NAME, data records in the external file specified in FileName attribute must have regular VARCHARs, known as LOB file locators, where the LOB columns are defined as deferred.

For a sample Teradata PT script in the sample/userguide directory, see:

uguide03.txt: Loading BLOB and CLOB Data into Teradata Database.