Snippet Name: Export table to pipe delimited file Description: Simplest way to to export a MySQL table to a pipe delimited file. Comment: (none) Language: MYSQL Highlight Mode: MYSQL Last Modified: March 01st, 2009
Description: Simplest way to to export a MySQL table to a pipe delimited file.
SELECT * FROM TABLE ORDER BY ID INTO OUTFILE 'out.file' FIELDS TERMINATED BY '|';