Puo' dipendere da com'e' fatto il file di ingresso, quali sono i delimitatori dei campi e quali sono i caratteri di quote.
Inoltre riguardo le specifiche colonne, cito dalla pagina del manuale:
http://dev.mysql.com/doc/refman/5.1/en/load-data.htmlBy default, when no column list is provided at the end of the LOAD DATA INFILE statement, input lines are expected to contain a field for each table column. If you want to load only some of a table's columns, specify a column list:
LOAD DATA INFILE 'persondata.txt' INTO TABLE persondata (col1,col2,...);
You must also specify a column list if the order of the fields in the input file differs from the order of the columns in the table. Otherwise, MySQL cannot tell how to match input fields with table columns.

Rispondi quotando