Created
January 29, 2018 07:17
-
-
Save technoknol/507a8f0958daef84d27079591ce287e4 to your computer and use it in GitHub Desktop.
Load/Import CSV file to MySQL using Query
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 | |
'products.csv' | |
INTO TABLE ws_store_products | |
FIELDS TERMINATED BY ',' | |
ENCLOSED BY '"' | |
LINES TERMINATED BY '\n' | |
(article_no,store_code,description,qty,mrp,sp); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment