External Procedures and Large Objects - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

Teradata Database does not support returning inline LOBs in an external procedure. If you need an external procedure to process inline LOBs, then place an SQL procedure wrapper around the external procedure.

To do this, use the following general procedure.

  1. Create an SQL procedure that calls the external procedure and also returns an inline LOB.
  2. Create an external procedure that returns the LOB AS LOCATOR to the SQL procedure created in the first step.

The SQL procedure then returns the inline LOB to the requestor.