9 24
load data infile “文件名” into table 表名 fields terminated by “字段分隔符” enclosed by “字段包裹符” lines terminated by “换行符”
实例:
$sql=”load data infile “c:\table.txt” into table test fields terminated by “\t” enclosed by “” lines terminated by “\n\r”;
y








最新评论