[Webinar] Streamline your web hosting managementRegister Today

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
?
606 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 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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

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

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…
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 copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

607 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