16.10 - Multiple SELECT Statements - Parallel Transporter

Teradata Parallel Transporter Reference

Parallel Transporter
Release Number
July 2017
Content Type
Programming Reference
Publication ID
English (United States)

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.