Solved

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

Posted on 2011-02-27
4
597 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.

840 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