Created
December 1, 2009 20:00
-
-
Save r38y/246590 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> SELECT * INTO OUTFILE '/tmp/yeah.txt' FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' LINES TERMINATED BY '\n' FROM winit_users; | |
Query OK, 343234 rows affected (7.48 sec) | |
* results in a 150 mb csv file -- pretty quick! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment