1

I want to export the contents of a table into a CSV file but skip any \n or \r that might be present in the VARCHAR columns.

I want to have one line in the CSV per row in the table.

I've used SELECT INTO OUTFILE statement for exporting before, I don't know how to get rid of the newlines and carriage returns in the export itself.

Any ideas?

amh
  • 690
  • 1
  • 8
  • 19
  • possibly answered by: http://stackoverflow.com/questions/1119312/mysql-export-into-outfile-csv-escaping-chars – Taryn East Feb 10 '14 at 04:34

0 Answers0