Solved

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

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

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
oracle 10G 5 48
Salary Amount Format 13 56
Combining the output of 2 oracle queries 2 47
Outer Query not returning data - SQL HELP 16 41
Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

762 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

18 Experts available now in Live!

Get 1:1 Help Now