Solved

Is there a simple way to import Excel sheet or CSV file to Oracle DB?

Posted on 2011-02-27
4
595 Views
Last Modified: 2013-12-19
Hi,

please can somebody suggest some option how to import the data from Excel (simple table) or CSV file to the Oracle database?
I've got the data the way that somebody exported it for me from existing Oracle database, and I'd like to be able to import it to my database for dev/testing purposes.

It will be fine if this imports creates a new table. All values data types are just strings.

Thank you.

Martin
0
Comment
Question by:martin_babarik
  • 2
4 Comments
 
LVL 6

Assisted Solution

by:Tonypeswani
Tonypeswani earned 100 total points
ID: 34992586
0
 
LVL 13

Author Comment

by:martin_babarik
ID: 34992691
Thank you, it looks good, but I'm not using the XE edition.
Maybe I should emphasize that I'm complete noob when it comes to Oracle, I have just some basic experience with SQL generally, like reading/writing data using some script languages. I'm not familiar with any admin/management tools available for Oracle.

Is there either a command line solution (sqlplus)?

I don't know how to get to the interface shown in the article - I've seen it in XE I tried before, but for some reason I rather installed "normal" Oracle enterprise. I've noticed there are some links to web interfaces of particular databases in Start menu, but they don't seem to be working. It will open the browser windows with url like hostname:portnumber/em or something like that, but the page remains empty.

I don't know the particular steps how to integrate Oracle with IIS (which I guess is needed). Even when I install IIS separatelly, it doesn't help with the interface - and Oracle is not getting me any error like "web server not configured" or something like this (which IIS component is missing).

Martin
0
 
LVL 10

Accepted Solution

by:
ravindran_eee earned 400 total points
ID: 34992792
SQL Loader would be a good option. Something that would be available by default and requires no additional installation. You will have to prepare control files for this to work. But it is very simple and straight forward. Check the below links. It should help you understand more about SQL Loader. If there are specific questions, then post them.

http://www.orafaq.com/wiki/SQL*Loader_FAQ
http://www.oracleutilities.com/OSUtil/sqlldr.html
http://psoug.org/reference/sqlloader.html
0
 
LVL 13

Author Closing Comment

by:martin_babarik
ID: 34993084
As I quickly checked the sqlloader, it seems to be able to do exactly what I need.

Great job, thank you!
Martin
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now