database - Change Column names to first row in MySQL Table -


i have imported csv file sql table using import option of phpmyadmin (because found easiest). column names "col 1, col 2,..." , desired column names first row in table.

how change column names values in first row (for tables of database)?

here way change 1 column name @ time have many column names in each table of database , want apply tables @ once.

is there moderately easy way this? or should try , incorporate while importing csv file?

when importing, there checkbox "the first line of file contains table column names (if unchecked, first line become part of data)".

the first line of file contains table column names (if unchecked, first line become part of data)

checking box use first row column names, saving having write additional script or manually change anything.


Comments

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -