MySQL Workbench Import NULL from CSV

后端 未结 4 1325
不知归路
不知归路 2021-01-12 02:59

I can\'t for the life of me make MySQL Workbench import NULL for blank cells in a CSV.

I\'ve tried:

  • blank
  • NULL
  • \\N
  • Each wi
4条回答
  •  执念已碎
    2021-01-12 03:44

    I suggest switching to Navicat for MySQL -- if only for the csv table import wizard. After repeated attempts to get the MySQLWorkbench Import Wizard to work for my CSV file, I gave up. I recalled using Navicat in an early project and it worked flawlessly. For this import, I was able to load my 15000+ row CSV with multiple null datetime values into my MySQL table without a problem.

    Weird that MySQLWorkbench still hasn't solved this annoyance. But Navicat provides an easy alternative until they do.

提交回复
热议问题