How to create a new table in Teradata?...

Create SET Table EMP, Fallback 

(

EMP_No Integer,

Emp_First_Name Varchar (30),

Emp_Last_Name Varchar (30),

DOB Date format 'YYYY-MM-DD',

Dept Varchar (10)

) Unique Primary Index (EMP_NO);


SET : will not store duplicate records

Multiset : will allow the duplicate records.

Fallback:

Fallback protects the table data by storing the second copy of rows of a table on another AMP called as Fallback AMP. If one AMP fails, then the fallback rows are accessed. With this, even if one AMP fails, data is still available through fallback AMP

Comments

Popular posts from this blog

General information about Netezza : Default Error details

Minus in Teradata?...