17.10 - Insert Foreign Table Rows into Permanent Table - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

This statement inserts rows for the specified columns into the table riverflow_csv_t from the view riverflow_csv_v.

INSERT INTO riverflow_csv_t (
datetime, Site_no, Flow, GageHeight, Precipitation, GageHeight2
)
SELECT datetime, Site_no, Flow, GageHeight, Precipitation, GageHeight2
FROM riverflow_csv_v;