Created
October 2, 2014 16:37
-
-
Save onpaws/3223c89fd017481658a1 to your computer and use it in GitHub Desktop.
Load CSV from SQL
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
LOAD DATA INFILE '/tmp/stats-2014.csv' | |
INTO TABLE orig_stats | |
FIELDS TERMINATED BY ',' | |
LINES TERMINATED BY '\r\n' | |
IGNORE 1 LINES ; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment