Tuesday, December 02, 2008

Export to CSV directly from MySQL - Ariejan.net

People are always asking for this feature from NetBeans. We're working on it, but in the meantime, if you're using MySQL, here is some very simple code to export to CSV. Nice!

http://ariejan.net/2008/11/27/export-csv-directly-from-mysql/

1 comment:

Sheeri K. Cabral said...

In MySQL 5.0 and higher you can just also make a copy of the table and do:

ALTER TABLE foo ENGINE=CSV