Create a CSV File From Query Results


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. SELECT * FROM users INTO OUTFILE '/home/user/users.csv' FIELDS TERMINATED BY \t\' ->LINES TERMINATED BY '\n';

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.