Archives of the TeradataForum
Message Posted: Tue, 11 Nov 2014 @ 16:05:07 GMT
Subj: | | Re: TABLE Function |
|
From: | | Anomy Anom |
<-- Anonymously Posted: Tuesday, November 11, 2014 10:47 -->
Yes, in principle you could define a Table Function on the INSERT (Test) system that runs a SELECT query on another (Prod) system and retrieves
the results, and use that function in the FROM clause of an INSERT/SELECT.
Whether it's good or bad depends on the detailed use case. Network bandwidth can be a challenge; security also requires careful attention.
Table Operators, introduced in TD14.10 and enhanced in TD15.0, along with Teradata QueryGrid, make this sort of thing more flexible. Table
Operators can be passed a set of rows, and can dynamically define the structure of the result set returned.
|