摘要: 二、表中数据导出为文本文件(.txt) Sql代码 select id,name,countryId into outfile"d:/data_out.txt" lines terminated by "\r\n" from province; 导出结果: 1 北京 1 2 上海 1 3 天津 1 4 重庆 1 5 黑龙江 1 6 吉林 1 7 辽宁 1 …… 三、文本文件导入数据库 Sql代码 load data local infile "d:/data_out.txt" into table t_province(id,name 阅读全文
posted @ 2013-11-27 10:39 wangxiangshang 阅读(198) 评论(0) 推荐(0) 编辑