java - How to import excel data to mysql? -
i have excel sheet contains many fields. have database contains many tables linked 1 another. fields excel sheet contains inserted multiple tables linked 1 another.
eg sample.xls or .xlsx
id | name | number | designation 1 | manan | 987654321 | software eng.
database : personal table
id | name | number | desig_id 1 | manan | 987654321 | 1
database : designation table
desig_id | designation name 1 | software eng.
this sample have many tables linked @ same time. how shall import type of data?
the coding bit complicated if want simple answer; can interact database java using jdbc , can interact excel file java using apache poi (their how-to page useful).
Comments
Post a Comment