How to Rename a Table in DuckDB
This example renames the table my_table
to my_renamed_table
:
ALTER TABLE my_table RENAME TO my_renamed_table;
This example renames the table my_table
to my_renamed_table
:
ALTER TABLE my_table RENAME TO my_renamed_table;
DB Pilot is a Database GUI client and SQL editor for PostgreSQL, MySQL, SQLite, DuckDB & more.