07 August 2018        Add to Favorites   Report

How to Insert multiple Rows in Teradata using SQL

we are creating a volatile table and trying to insert rows to the table. 

create volatile table Example
    ProductID VARCHAR(15),
    Price DECIMAL (15,2)
on commit preserve rows;

Then we can insert into the above volatile table using standalone insert statements:

INSERT INTO Example Values('John Snow',4);
INSERT INTO Example Values('Kaleesi',400);
INSERT INTO Example Values('Little finger',400);

Read great educational content like this and a lot more ! Create my free account now 🎁