CREATE TABLE COPY
Creates a table that has the same metadata and data as another table. The source table can be a table, a table clone, or a table snapshot.
Grammar Syntax
Click here to go to the specification for this syntax.
Sample InputCode
Snowflake OutputCode
If the Create Table has options, these will be commented since they are not supported in Snowflake. Except for the "description" option.
Sample InputCode
Snowflake OutputCode
Note
The LABELS are not transformed into TAGs because the TAGs of the source table are copied, they cannot be changed during the copy of the table.
CREATE TABLE COPY and CREATE TABLE CLONE are functionally equivalent. This is why COPY is transformed into CLONE.
Related EWIs
Last updated