CSV to MySQL database
Hi,
I have a CSV file with me and want to extract the information into a table in my MySQL database.
Can anyone guide me on how should i go about it ?
At present I have created 2 tables, first a "tablemaster" which keeps the tableid and tablename for all the tables in the database. Second is a "tablecolumninfo" which keeps details of all the columns of each table (pri key is the tableid + columnid)
How do i write something generic so that a csv file for any table can be extracted into the resp. table ?

