Posted By

matula on 09/17/10


Tagged

mysql


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

davidsi
rukarmr
kubaitis
kidmizere
jackkeller
jeremydouglass


Create CSV from MySQL


 / Published in: MySQL
 

  1. SELECT a,b,c FROM my_table INTO OUTFILE '/ca.csv' FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n';

Report this snippet  

You need to login to post a comment.