重命名所有表名
CREATE DATABASE new_db_name; RENAME TABLE db_name.table1 TO new_db_name.table1, db_name.table2 TO new_db_name.table2; DROP DATABASE db_name;
2022-05-31 05:24:22
重命名所有表名
CREATE DATABASE new_db_name; RENAME TABLE db_name.table1 TO new_db_name.table1, db_name.table2 TO new_db_name.table2; DROP DATABASE db_name;