CREATE TABLE LIKE
Description
Creates the table by replicating an existing table. (Vertica SQL Language Reference Create Table).
This syntax is partially supported in Snowflake. Translation pending for the following clause:
DISK_QUOTA quota
Grammar Syntax
CREATE TABLE [ IF NOT EXISTS ] [[database.]schema.]table
LIKE [[database.]schema.]existing-table
[ {INCLUDING | EXCLUDING} PROJECTIONS ]
[ {INCLUDE | EXCLUDE} [SCHEMA] PRIVILEGES ]
[ DISK_QUOTA quota ]
Tables Options
Projections
This syntax isn't required in Snowflake and is removed from the original code. For more information, please refer to Projections Clauses.
Inherited Schema Privileges Clause
INCLUDE SCHEMA PRIVILEGES
is a Vertica-specific feature that governs how privileges are inherited, in this case, potentially from the schema level. Snowflake does not have a direct equivalent for this clause within its CREATE TABLE
syntax. For more information please refer to Inherited Schema Privileges Clause.
This syntax is not supported in Snowflake.
Related EWIs
SSC-EWI-VT0001: Inherited privileges clause is not supported in Snowflake.
Last updated