INSERT | Teradata Connector | QueryGrid - INSERT Syntax and the Teradata Connector - Teradata QueryGrid

Teradata® QueryGrid™ Installation and User Guide

Product
Teradata QueryGrid
Release Number
2.19
Published
July 2022
Language
English (United States)
Last Update
2022-07-28
dita:mapPath
jpf1654813554544.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
Product Category
Analytical Ecosystem

Export data to a remote system by using an INSERT statement to place data into an existing table. The table can be empty or it can contain data. If the table already contains data, the exported data is appended to the data in the existing table.

If no database is specified for the remote database, the current session database or the connector default database is used, depending on the target connector type and user mapping.

Example: Teradata to Presto INSERT

The example shows an export request initiated on Teradata using the foreign server object (new_cardata@QG_Presto1) to insert data from a Teradata table into a table on a remote Presto system.

INSERT INTO new_cardata@QG_Presto1 SELECT * FROM td_cardata;