1

It it possible to create tables in mysql with table names from the text file.

E.g.

a_file.txt -> table a_file
b_file.txt -> table b_file

The first line in the text files should be the column name (delimited by semicolon) and the rows are in the subsequent lines.

CODE;TEXT;SAMPLE
1;White;
2;Black;
3;Yellow;
4;Red;
5;Blue;
6;Purple;

I have a folder of text files in that format.

How would that be done, if possible...

0 Answers0