Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个文本文件,想使用 load data infile 将它加载到我的 db 表中,但是该文件包含无效值,其中包含空字符串,如何忽略这些行?
首先编辑您的文本文件以搜索和替换无效值。 然后将数据加载到mysql中。