Interview Questions

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

PHP Interview Questions and Answers


(Continued from previous question...)

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

(Continued on next question...)

Other Interview Questions