Pool of oblivion: Rename multiple tables in MySQL database - 0 views
-
Luciano Ferrer on 04 Mar 12"This PHP script automates the renaming of multiple tables in a MySQL database. It lists all tables in a MySQL database, which contain a defined string pattern. The script creates and executes a series of SQL statements, which rename the table by replacing the search pattern in the original table name with another pattern in the new table name. "