17.10 - Example: Successful INSERT-SELECT Statements - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - DATASET Data Type

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
amv1590702100517.ditamap
dita:ditavalPath
amv1590702100517.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;