load的语法 1LOAD DATA [LOW_PRIORITY | CONCURRENT] [LOCAL] INFILE 'file_name.txt' 2 [REPLACE | IGNORE] 3 INTO TABLE tbl_name 4 [FIELDS 5 [TERMINATED BY 'string'] 6 [[OPTIONALLY] ENCLOSED BY 'char'] 7 [ESCAPED BY 'char' ] 8 ] 9 [LINES 10 [STARTING BY 'string'] 11 [TERMINATED BY 'string'] 12 ] 13 [IGNORE number LINES] 14 [(col_name_or_user_var,...)] 15 [SET col_name = expr,...)] LOAD DATA INFILE语句用于高速地从一个文本文件中读取行,并装入一个表中。文件名称必须为一个文字字符串。 由character_set_database系统变……
Continue reading