mysql中的Load data的使用方法
测试把txt文件导入至mysql数据库中: table: txt文件:D:/data.txt (txt文件下载) txt中使用 '\N' 描述null值。 导入数据: 复制代码 代码如下: load data local infile 'D:/data.txt' into table pet lines t
测试把txt文件导入至mysql数据库中: table: <img alt src="http://img.558idc.com/uploadfile/allimg/210707/1Z04U5J-0.jpg">txt文件:D:/data.txt (txt文件下载)<p><img alt src="http://img.558idc.com/uploadfile/allimg/210707/1Z04S5a-1.jpg"></p>
txt中使用 '\N' 描述null值。
导入数据: