Import data from excel to oracle table

Posted on 2008-11-11
Last Modified: 2013-12-19
We are developing one package in oracle form builder 6i with oracle 9i as back end.Our form contains a button and a text item which reads the file name with location of an Excel file .While pressing the button we have to take the data from the above excel file into one oracle table. Format of the excel file and structre of the oracle table is already defined.We are using windows XP professional platform.
Pls advise how to take data from excel to oracle table.

Thanks in advance.
Question by:Jinesh Kumar Kochath
    LVL 9

    Assisted Solution

    You can use the DDE-Package of Oracle Forms.

    Here you can find an example on how to use it:
    LVL 6

    Assisted Solution

    Did you try with Export option in the EXCEL?
    Try to save it an acceptable format to ORACLE and check it.
    I knew that import option in EXCEL would import values from text format into EXCEL sheet.

    May be you should start check reference in EXCEL help etc. Since I use OpenOffice I can not check with the EXCEL. Try it out.

    Good luck :)

    Author Comment

    by:Jinesh Kumar Kochath
    I tried the link .But while pressing the button i am getting one message WINDOWS APPLICATION CAN NOT START. Pls advise me.
    LVL 9

    Assisted Solution


    Which path for the excel.exe did you use? I just noticed that there might be a little mistake in the link i gave you, as they obviously stripped the backslashes. You should use a common windows-path for the path to the excel-file.

    Accepted Solution

    I tried the method in .But first, becuase of wrong path name, i got one error message.But now It is working fine.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    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…
    Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
    This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
    This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

    779 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

    12 Experts available now in Live!

    Get 1:1 Help Now