Can any one send me the code to read CSV file and save the data in database .....? its so urgent please help me...
thanks in advance?
SCJP5 and SCWCD1.5
Think Twice Act Wise...
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
What do you have so far? There are any number of libraries that can read CSV. Storing it in the DB most likely involves the JDBC API; are you familiar with that? There are also ETL tools for bulk loading of data into DBs (it's even possible that one comes with whatever DB you're using). So ... TellTheDetails.
HI Ulf,
I am also have same requirement as Ganeshkumar .
My requirement is : I have a CSV file data with multiple columns and rows.
I want to insert that data into the Database(Oracle) table.Can you please guide me the approach or provide me the code if available.
Thanks in advance.
venkat
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
Looks like that's pretty much the same question ... so my answer is also the same :-)
Hi Ganeshkukar
Some database support bulk load means you can provide them CVS or excel file and some database routines read the data and load it in tables .
So Ulf is asking you what you know /in which way you want implement data load using DB or Java.
yes it's also possible to load data using JAVA
Discuss what you want and what you know
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: read data from csv file and store it in database