Created
October 10, 2017 09:21
-
-
Save rajitha-bandara/9bc99a0f67302111731272c20d45d745 to your computer and use it in GitHub Desktop.
MySQL Load CSV
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 LOCAL INFILE "C:/Users/xxx/e7849261fe2785926565f6c9c4dea6e957c3c837.csv" | |
INTO TABLE contacts | |
FIELDS TERMINATED BY ',' | |
ENCLOSED BY '"' | |
LINES TERMINATED BY '\n' | |
IGNORE 1 ROWS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment