What is the easiest way to import an excel sheet into mysql

后端 未结 3 358
终归单人心
终归单人心 2020-12-21 14:48

I have an Excel sheet with some cols and i want to import those into the mysql table. The Problem is that there are more colums in the mysql table than in the sheet (which

3条回答
  •  孤城傲影
    2020-12-21 15:42

    Although the mysqlimport solution is absolutely feasible, it can be cumbersome (NULL handling e.g.) if you have to import a lot of files or if you have to import them regularly. I sometimes use Toad® for MySQL which is able to directly import XLS(X) files into MySQL. This surely is overkill if you only import some Excel data now and then - but it's an alternative and it can be automated as Toad supports automation workflows.

提交回复
热议问题