• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

read data from csv file and store it in database

 
Ganeshkumar cheekati
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Jalli Venkat
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like that's pretty much the same question ... so my answer is also the same :-)
 
mahesh shinde
Ranch Hand
Posts: 69
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic