Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-02-27
4
Medium Priority
?
602 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
[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
  • 2
4 Comments
 
LVL 6

Assisted Solution

by:Tonypeswani
Tonypeswani earned 400 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 1600 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

618 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