RawSushi's Tech Journal
My online tech scrapbook where I keep my notes in case I need to look them up later
Friday, June 1, 2012
MySQL: Directing Query Output to File
In MySQL, to direct query output to a file:
mysql> SELECT * FROM people INTO OUTFILE '/tmp/filename';
Reference:
www.tech-recipes.com/rx/1475/save-mysql-q
uery-results-into-a-text-or-csv-file/
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment