In Snowflake, by using the “ALTER TABLE .. RENAME TO” command we can rename the table.
alter_table old_table_name1 rename to new_table_name1; alter_table sessions_db2 rename to sessions_db_3;
The “ALTER TABLE .. RENAME TO” changes the name of a table. I hope this article provides sufficient information about renaming the table.
Snowflake Related Articles
If you have any queries, let us know by commenting below.
Stay updated with our newsletter, packed with Tutorials, Interview Questions, How-to's, Tips & Tricks, Latest Trends & Updates, and more ➤ Straight to your inbox!
|Snowflake Training||Jun 28 to Jul 13|
|Snowflake Training||Jul 02 to Jul 17|
|Snowflake Training||Jul 05 to Jul 20|
|Snowflake Training||Jul 09 to Jul 24|
Kalla Saikumar is a technology expert and is currently working as a content associate at MindMajix. Write articles on multiple platforms such as ServiceNow, Business Analysis, Performance Testing, Mulesoft, Oracle Exadata, Azure, and other courses. And you can join him on LinkedIn.
Copyright © 2013 - 2022 MindMajix Technologies