Renaming a table in SQL Since I am currently overhauling many websites, I needed in one particular case to rename a table. Never needed this before, I searched and found the following. Bog-standard SQL (which worked for me) RENAME TABLE ohu1y_docman_file_counts TO ohu1y_docman_file_counts_bak; PostgreSQL / SQLite ALTER TABLE ohu1y_docman_file_counts RENAME TO ohu1y_docman_file_counts_bak; --- https://3xn.nl/projects/2026/02/11/renaming-a-table-in-sql/ --- #mysql #postgresql #rename #sqlite #table