How to do it...

  1. Connect to Teradata Database using SQLA or Studio.
  2. Create the following permanent table in Database using the following code; it can be seen in the screenshot of SQLA:
/*Create set table*/CREATE volatile TABLE td_cookbook.EMP_TBL
(EMP_ID INTEGER ,
EMP_Name VARCHAR(20),
Sal INTEGER)primary index (EMP_ID)
  1. Let's insert data into the table by using the following code. Also, check the snippet from SQLA:
/*Insert row into table*/
insert into td_cookbook.EMP_TBL values (1,'Andrew',250);
insert into td_cookbook.EMP_TBL values (2,'Rose',232);

Following code is show in snippet from SQLA:

  1. We will now copy the data from the table ...

Get Teradata Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.