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||Nov 22 to Dec 07|
|Snowflake Training||Nov 26 to Dec 11|
|Snowflake Training||Nov 29 to Dec 14|
|Snowflake Training||Dec 03 to Dec 18|
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