从mssql (sqlserver2000)中导出数据到mysql 中用load data
load data infile ‘/home/aaron/work/mysql/abc.txt’ into table tb_USER fields terminated by ‘,’ enclosed by ‘”‘;
说明 :
infile 后面是源文件名, fields terminated by ‘,’ 是告诉mysql被插入的数据字段间是用逗号间隔的 enclosed by ‘”’ 是告诉mysql被插入的数据字段中有双引号引起来的字段
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/100617.html原文链接: