Load CSV into MySQL


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. LOAD DATA INFILE 'data.txt' INTO TABLE tbl_name
  2. FIELDS TERMINATED BY ','
  3. LINES TERMINATED BY '\n';

URL: http://forums.digitalpoint.com/showthread.php?t=108159

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.