Click here to Skip to main content
15,923,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have excel file (CSV). I just want to insert the excel data into mysql DB.

It is not a export CSV file from mysql.

I just create by me in MS excel.

If any possibilities...?

Thanks...
Posted
Comments
thatraja 17-Mar-11 3:47am    
which language? vb? or c#? or anyotherthing?
MuthuGanesh D 17-Mar-11 4:16am    
i want insert excel file directly in mysql....

1 solution

"any possibilities...?"

Two spring to mind:
1) Code some software to read the CSV file, and insert records in the database if they do not already exist. You may have to drop / create the database table, and work out the field formats on the fly - I don't know, I have no idea of your situation.
2) Use a MySql database manager to import the CSV data. Most will have this built in: Google and find one you like the price/performance ratio of. You may have access to one already.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900