In Snowflake, by using the “ALTER TABLE .. RENAME TO” command we can rename the table.
Syntax:
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!
Name | Dates | |
---|---|---|
Snowflake Training | Mar 30 to Apr 14 | View Details |
Snowflake Training | Apr 02 to Apr 17 | View Details |
Snowflake Training | Apr 06 to Apr 21 | View Details |
Snowflake Training | Apr 09 to Apr 24 | View Details |
Kalla Saikumar is a technology expert and is currently working as a Marketing Analyst at MindMajix. Write articles on multiple platforms such as Tableau, PowerBi, Business Analysis, SQL Server, MySQL, Oracle, and other courses. And you can join him on LinkedIn and Twitter.
1 / 10
Copyright © 2013 - 2024 MindMajix Technologies