?
Solved

import Excel sheets in to ORACLE

Posted on 2004-03-23
4
Medium Priority
?
1,605 Views
Last Modified: 2008-03-17
hi
1) please help me in importing Many Excel Spreadsheets in to a Table of Oracle Database.
I dont want to do it Via MS Access.
Is there any direct way to import Excel Spread sheets into a Table.
2) Is there any way to import Spread sheets into Oracle Database via Visual Basic code.
by
brav
0
Comment
Question by:brav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Accepted Solution

by:
Carlovski earned 100 total points
ID: 10657260
Hmm,
You probably could link an oracle database to an excel spreadsheet using Oracle generic connectivity, but it is a bit of a hassle to set up, and would be a pain to actually use.
If you fancy the VB route, you could use an oracle odbc driver to connect to the database, and use ADO to insert the records you read in from the spreadsheet (Either by reading in the values into n external vb app, or by running vba in a macro within the spreadsheet).
It may be possible to drive this all from Excel, I've never tried it, I've got a couple of spreadsheets which are populated by connecting to oracle, but never the other way round.
To be honest though, I'd be more tempted to use SQL Loader to load in the spreadsheets, you would have to first save them as either fixed width text files, or csv and run a sqlload. You should be able to script it all fairly easily.
0
 
LVL 1

Assisted Solution

by:nparthi
nparthi earned 100 total points
ID: 10664681
Please take a look at the answers for the question I had posted:
http://www.experts-exchange.com/Databases/Oracle/Q_20907064.html

Even though I tried importing it directly from Excel by defining it as a table and importing it into oracle. But since my data was not properly formatted it didnt work.

I later tried using Perl and imported it my saving the Excel as a *.csv file. Perl is really powerful and I was amazed with the consistency when compared to importing it directly from Excel. I will post a sample code if you are interested.
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question