16.20 - Example: Successful INSERT-SELECT Statements - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ DATASET Data Type

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-02
dita:mapPath
pgs1512082344257.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

The following are examples of successful INSERT-SELECT statements.

For AVRO:

CREATE TABLE myAVROTable02(
	id INT,
	avroFile DATASET STORAGE FORMAT Avro); 
INSERT INTO myAVROTable02 SELECT * FROM myAVROTable01;
For CSV:
CREATE TABLE MyCSVTable02(
	id INT,
	csvFile DATASET STORAGE FORMAT CSV CHARACTER SET LATIN); 
INSERT INTO MyCSVTable02 SELECT * FROM MyCSVTable01;