Types of Tables in Snowflake
Tables are the database objects which are nothing but a logical collection of rows and columns. Snowflake supports three types of tables: 1. Temporary tables 2. Permanent tables 3. Transient tables Temporary tables: These tables exist only within the session, they will be deleted once the session gets ended. They are not visible to other users or sessions. create temporary table employee (id number, name varchar(50)); Permanent tables: These are the default table type in the Snowflake, they do not need any additional syntax to make them permanent. create table employee (id number, name varchar(50)); Transient tables: Similar to permanent tables except they do not have a fail-safe period. create transient table employee (id number, name varchar(50)); Key Differences: Default time travel period : "1" day for all the tables. Storage Costs : Transient and Temporary Fail Safe Cost : Only Permanent Temporary and Transient : All Editions (0-1) Permanent : Standard Edition (0-1) Perm...