Snowflake Vs MS-SQL - Part 14 - Clone Table
Clone Table
In day-to-day activity, you need to take back-up of the part of the table or the whole table. But you can see multiple versions of the table over the period on the server. This leads to extra space consumption as well.
You can take the backup of the table as a DBA process or you can use the INTO clause to create a table during run time.

The cloning feature provides a convenient way to quickly take a “snapshot” of any table, schema, or database.
It does not copy the table or object physically rather the cloned object inherits any other metadata, such as comments or table clustering keys, that is current in the source object when the statement is executed.
Comments
Post a Comment