I am required to write a batch program to load csv files in MySQL. I am aware of the LOAD DATA INFILE
syntax that makes the bulk insert possibe by making use of CSV files.
In the batch I would also have to run the file browser in the sequential order perhaps from the command line; I would also ask for the table name for placeholding the table name. So in other word, I would want to write a generic script which takes user input for table name and asks for the file from command line.
Hence the question, is this automating of load program even possible? Sorry could not find much on this top while searching around.
I hope my question was clear and coherent.