PopSQL

How to Rename a Table in Snowflake

Renaming a table in Snowflake is performed by using ALTER TABLE .. RENAME TO statement:

--the syntax
alter table old_table_name rename to new_table_name;

--rename users_marketing to users table
alter table sessions_db1 rename to sessions_db_1;
Cta
Better SQL for the people
Get more done with PopSQL and Snowflake