Last active
July 15, 2024 18:21
-
-
Save FernandoCutire/59bd56f178a402628cf976a5e2564bc3 to your computer and use it in GitHub Desktop.
rename redshift table using sql command
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Assuming your existing table is named 'old_table' | |
-- and you want to rename it to 'new_table' | |
ALTER TABLE old_table RENAME TO new_table; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment