a MYSQL script to convert the column names to lowercase
问题 I am looking for a single MYSQL script to convert ALL column names in a database to lowercase in one go... I have inherited a MYSQL database that has a lot of mixed case column names (150 tables with a strange naming convention) and I don't want to go through manually each table by table to do this. Has anyone got such a script? Thanks 回答1: You can solve this task by building a script, starting with the output from this statement: SELECT table_name, column_name, data_type FROM information