易网时代-编程资源站
Welcome
首页
/
数据库
/
MySQL
/
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 terminated by " " ignore 1 lines;
应用mysql版本:
版权所有©石家庄振强科技有限公司2024
冀ICP备08103738号-5
网站地图