Showing posts with label How can I load data from a text file into a table?. Show all posts
Showing posts with label How can I load data from a text file into a table?. Show all posts

Saturday, May 16, 2009

How can I load data from a text file into a table?

The MySQL provides a LOAD DATA INFILE command. You can load data from a file. Great tool but you need to make sure that:

a) Data must be delimited
b) Data fields must match table columns correctly