1.excel数据导入sqlserver
2.sqlserver导出数据到key.txt,列分隔符和行分隔符一定要找个数据中没有的字符或字符串
3.导入mysql
Load Data InFile '/app/key.txt' Into Table `monitorkeyinfo` Fields
Terminated By 'fieldsc' Enclosed By '"' Escaped By '"' Lines Terminated
By 'linesc';
这个可以测试一下的。就不需要自己再写程序了!
经验!
阅读(682) | 评论(0) | 转发(0) |