Beispiel:
SELECT id, name INTO OUTFILE "d:\\temp\\exportnamen.csv" FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n' FROM `namentabelle` WHERE 1
Beispiel:
SELECT id, name INTO OUTFILE "d:\\temp\\exportnamen.csv" FIELDS TERMINATED BY ',' ENCLOSED BY '"' ESCAPED BY '\\' LINES TERMINATED BY '\r\n' FROM `namentabelle` WHERE 1