Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

MySQL import data from large CSV file

LOAD DATA INFILE 'data.csv' INTO TABLE tbl_name 
FIELDS TERMINATED BY ',' 
ENCLOSED BY '"' 
LINES TERMINATED BY '
' 
IGNORE 1 LINES;
Source by www.bhutanio.com #
 
PREVIOUS NEXT
Tagged: #MySQL #import #data #large #CSV #file
ADD COMMENT
Topic
Name
4+8 =