Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

populate data from csv into oracle

 
Sam Venkata
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a csv file and I need to populate the data into an oracle table.
The csv is in the form of excel sheet.
I tried to import the data from excel into MS Access and then export the same into oracle database but all the data is stored in the form of varchar(ex: number field in access is being stored as varchar in oracle table).
is there any thing that I could to keep the data type and still export the data to oracle table?

Thanks,
Samanth.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Samanth,
Welcome to JavaRanch!

Going back a step, are the data types correct in Access?

Another approach that doesn't involve the intermediate Access is to use your own create DDL statement and then just directly import the CSV.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic