A tag object has been assigned to a table (TABLE_A) in a schema within a Snowflake database.
Which CREATE object statement will automatically assign the TABLE_A tag to a target object?
A tag object has been assigned to a table (TABLE_A) in a schema within a Snowflake database.
Which CREATE object statement will automatically assign the TABLE_A tag to a target object?
The CREATE TABLE LIKE statement is used to create a new table based on the definition of an existing table (in this case, TABLE_A), and it automatically assigns tags from the source table to the target table. This ensures that any tags assigned to TABLE_A will also be assigned to the new table created using this statement.
it's correct
It's A --> "With CREATE TABLE … LIKE, tags assigned to the source table are assigned to the target table" https://docs.snowflake.com/en/user-guide/object-tagging#create-table-statements
https://docs.snowflake.com/en/user-guide/object-tagging With CREATE TABLE … LIKE, tags assigned to the source table are assigned to the target table.