Dette er den passende syntaks for en csv-indlæsning.
LOAD DATA LOCAL INFILE '/importfile.csv'
INTO TABLE test_table
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
(field1, filed2, field3);
Dette er den passende syntaks for en xml-indlæsning.
LOAD XML LOCAL INFILE 'items.xml'
INTO TABLE item
ROWS IDENTIFIED BY '<item>';