Multiple SELECT Statements - Parallel Transporter

Teradata® Parallel Transporter Reference

Product
Parallel Transporter
Release Number
17.10
Published
February 2022
Language
English (United States)
Last Update
2023-11-29
dita:mapPath
abr1608578396711.ditamap
dita:ditavalPath
obe1474387269547.ditaval
dita:id
ogv1478610452101
Product Category
Teradata Tools and Utilities

A single Export operator can read data from multiple tables as long as their schemas are the same.

For example, if Table1 and Table2 have the same schema, use the following SELECT statement in the attribute section of the Export operator definition:

VARCHAR SelectStmt='SELECT * FROM Table1;SELECT * FROM Table2'

If the job contains multiple SELECT statements and the job uses multiple instances of the Export operator, only the first instance of the Export operator logs on the special session(s). This is necessary to preserve the exported records in statement order.