Posted By

Abe on 02/17/08


Tagged

mysql file query csv


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

melling
snucko
superman
jeremydouglass


Create a CSV File From Query Results


 / Published in: SQL
 

  1. SELECT * FROM users INTO OUTFILE '/home/user/users.csv' FIELDS TERMINATED BY \t\' ->LINES TERMINATED BY '\n';

Report this snippet  

You need to login to post a comment.