-- Set semantics--** SSC-FDM-TD0024 - SET TABLE FUNCTIONALITY NOT SUPPORTED. TABLE MIGHT HAVE DUPLICATE ROWS **CREATE OR REPLACETABLEtable1 ( column1 INTEGER)COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"teradata"}}'
;--Multiset semanticsCREATE OR REPLACETABLEtable2 ( column1 INTEGER)COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"teradata"}}'
;
Volatile and Global Temporary Tables
Teradata's Volatile and Global Temporary tables are used for the temporary storage of data. Their difference lies in that the table definition (DDL) of Global Temporary tables is persisted in the Data Dictionary, while Volatile tables definition is not stored.
-- With dataCREATETABLEtable1AS table2 WITHDATA-- With no dataCREATETABLEtable1AS table2 WITHNODATA
Snowflake
OUT -> Teradata_04.sql
-- With dataCREATE OR REPLACETABLEtable1 CLONE table2COMMENT = '{"origin":"sf_sc","name":"snowconvert","version":{"major":1, "minor":0},{"attributes":{"component":"teradata"}}'
;-- With no data