Predictive Hacks

How to Rename Tables in Snowflake

We can rename tables in Snowflake using the alter table command as follows.

alter table  "DB_NAME"."SCHEMA_NAME"."OLD_TABLE_NAME" rename to "DB_NAME"."SCHEMA_NAME"."NEW_TABLE_NAME";

Share This Post

Share on facebook
Share on linkedin
Share on twitter
Share on email

Subscribe To Our Newsletter

Get updates and learn from the best

More To Explore

Python

Image Captioning with HuggingFace

Image captioning with AI is a fascinating application of artificial intelligence (AI) that involves generating textual descriptions for images automatically.