Data from Excel to Oracle DB

Hi,
I can upload data from excel to access having created stored procedure on access.
I do the upload using my vb code.
How can I upload data from excel to oracle db? could i use the same technique as above? only problem is im not sure if that vb code will work with oracle?
has anyone done this before? anyone have example code?
kindly assist me here
thanks

The easiest way to do this is to use a Oracle ODBC connection which can be found on OTN. You do not need a stored proc.
After installing Oracle ODBC on the machine where Excel and Access live, do the following.
Note, you already have steps 1, 2 and 3. I list all the steps for others.
1. Create your MS/Excel workbook
2. Add data to it.
3. Save it as "book1.xls".
4. Open MS/Access
5. Create new blank database, call it db1.
6. Then from the file menu, get external data, import, make sure the file type is xls, select book1.xls.
7. The wizard will walk you through the process of importing you Excel workbook into a new table.
8. Save
9. From the file menu select export table.
10. Select ODBC at the bottom of the "Save as type list".
11. Then (depending how you set up ODBC) select Machine Data Source.
12 . Select your Oracle ODBC connection and press OK.
You now have taken data from Excel to Access and placed it in the Oracle schema that was named when you setup your Oracle ODBC connection.
BG...

Similar Messages

  • Upload data from excel to oracle table

    Hi,
    if i'm user and using an application and i want to upload data from excel to oracle table on button click . Is it possible by using sql loader.
    If yes then please clarify it .
    is it possible from client end.
    thanks
    kam

    Yes it is possible using SQL*LDR, External tables and ORCL Export Utility. Though I didn't try Export Utility to load the external files.
    SQLLdr sysntax:
    Create a control file.
    It looks like this
    Load data
    Infile 'source.dat' 
    Into Table tablename
    Fields terminated by ',' optionally enclosed by '"'
    {code}
    then use sqlldr command from your OS.
    {code}
    sqlldr userid/password@sid control = filename.ctl, data = source.dat, log = logname.log, bad = badname.log, discard = discardname.discard
    {code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Data From Excel to Oracle

    Hi, how can I do a Stored Procedure or free code to import data from Excel to Oracle Table? Tanks for all.

    I never use UTL_FILE. I use Delphi and I need to make a subrotine to import xls file to oracle. So, I prefer to do into DataBase, using database resource, but I do not oracle expertise, I have some difficulties. Tanks.

  • Error in CLOB datatype for transfering data from Excel to Oracle database

    Am using excel sheet as source and Oracle as target Database.
    For all tables the operations works smoothly except for tables containing CLOB datatype.
    Initially i have used SQL Developer to transfer some data into excell sheets, now i want to transfer those file's data into another Oracle Database.
    What other options do i have?
    Is excel not the right tool to transfer CLOB datatypes?

    well,
    I couldn't suggest an excel to do it...
    You can go from Oracle to Oracle with the PL/SQL IKM. It works fine.
    Does it help you?

  • Transfer of data from excel to Oracle database? Please reply as soon as possible

    Hello:
    How can I transfer data from MS Excel into Oracle8/8i database.
    Please give me step by step instructions or necessary code required
    Thank you
    Dinakar

    Save the excel data in .CSV file format, then use SqlLoader.
    Your SqlLoader control file might look as follows
    LOAD DATA
    INFILE c:\test_data.csv
    APPEND
    INTO TABLE emp
    FIELDS TERMINATED BY ","
    (fld1, fld2, fld3, ...)

  • Inserting data from excel into oracle db

    I have data in excel files. Can I insert it in Oracle DB??
    any example will be highly appreciated
    thanks and kind regards

    See CSV-Database example based on Scriptella ETL tool.:
    http://snippets.dzone.com/posts/show/3508
    P.S. You will have to export Excel file into CSV.

  • Script to upload data from excel to table.

    Hi,
    Am having a different scenario.
    I need to create a script to load the data from excel into oracle table.
    For eg: When user1 has emp1.csv file then the datas should be loaded into emp table. at the same time user 2 has emp2.csv file then the datas should be inserted in the same emp table. Likewise my user's has different .csv files of having same template. I need to upload all those datas into the same table.
    How can i achieve it
    regards,
    Prasad K T,
    9840021070.

    Hi Prasad,
    You can use Sql loader tool (sqlldr) in APPEND mode to load the data from csv file to the target table. The APPEND would not delete the existing data from the table.
    Your control file may look like this:
    LOAD DATA
      INFILE 'emp1.csv'
      BADFILE 'bad_emp1.csv'
      APPEND
      INTO TABLE mailing_list
      FIELDS TERMINATED BY ","
      ( field1,
         field2,
    Regards,
    Sahir

  • Import from Excel to Oracle table

    I have couple questions.
    is the 20K Excel file upload limit still apply???
    I want to use APEX to upload data from Excel to Oracle, some data manipulation will be needed in the process.
    This will be a utility that will be used by users not DBAs or Developers.
    It would great if someone has an example application.
    or do you think I should use different tool???
    Thanks

    What are the steps for importing using the SQL
    developer?Steps are (assuming you have already installed XE und schema where data should be imported):
    1. Install SQL Developer
    2. Start SQL Developer
    3. Log on into desired schema
    4. Open Dialog Box "Excel Import Data"
    5. Specify file to import with options
    6. Click on OK
    7. Check in Navigator imported data's
    Done ;-)

  • Upload data from excel file to Oracle table

    Dear All,
    I have to upload data from excel file to Oracle table without using third party tools and without converting into CSV file.
    Could you tell me please how can i do this using PLSQl or SQL Loader.
    Thnaks in Advance..

    Dear All,
    I have to upload data from excel file to
    Oracle table without using third party tools and
    without converting into CSV file.
    Could you tell me please how can i do this
    using PLSQl or SQL Loader.
    Thnaks in Advance..As billy mentioned using ODBC interface ,the same HS service which is a layer over using traditional ODBC to access non oracle database.Here is link you can hit and trial and come out here if you have any problem.
    http://www.oracle-base.com/articles/9i/HSGenericConnectivity9i.php[pre]
    Khurram                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How  to load the data from excel  file  into table in oracle using UTL_FI

    How to load the data from excel file into table in oracle
    and from table to excel file
    using UTL_FILE package
    Please give me some example

    This is something i tried in oracle apex
    http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/
    Regards,
    CKLP

  • How to import data from excel or csv files to Oracle table

    hello everybody,
    I am new here and new in Oracle. I would like to know the steps how to import data from excel or csv files to Oracle table.
    Let say I already have table inside the Oracle. Then my user give me the sets of data inside the Excel Worksheet.
    So, how can I import the excel data into Oracle table.
    Thank you in advance.
    cheers,
    shima

    Even easier. Download JDeveloper 11G from this site.
    Set up the database connection, right click on the table, select Import->Excel and specify your file to load it. On the import pop-up, you must view and update each tab indicating Columns, Data Types, and DML.
    Columns -- move the selected columns that you want to load to the box on the right
    Data Types -- select column name from second column to which the data for each column of the import file should load
    DML -- click this tab to generate the INSERT SQL
    Once done click 'Insert'

  • Read data from Excel and write into oracle database

    Hi
    I want  to know how can i read data from excel and write into oracle database using java.Kindly help me out to find a solution.
    Thanks and Regards
    Neeta

    Hai,
    I am suggesting the solution.
    I will try out and let u know soon.
    Make a coma separated file from your excel file.
    Assuming that your requirement allows to make a csv file.
    This file may be passed as an file object to be read by java.Using JDBC you must be able to populate the data base.You can also use String Tokenizer if needed.
    You do not want to  go via sql Loader?
    For reading the excel file itself do you want java?

  • Data from Excel to ADF table

    Hi,
    I need to export data from excel to ADF table and edit the data and finally send it back to database.
    Would you kindly let me know how to proceed in this?
    Many thanks in advance
    Regards

    This depends on your excel file structure.
    You can use ADF Desktop Integration or
    something like this(for simple excel files):
    for excel -> adf table
    http://technology.amis.nl/2010/09/16/adf-11g-import-from-excel-into-an-adf-table/
    For adf table -> excel:
    http://www.baigzeeshan.com/2010/04/exporting-table-to-excel-in-oracle-adf.html
    http://adfreusablecode.blogspot.com/2012/07/export-to-excel-with-styles.html
    Dario

  • Read data from excel sheet and then perform the required operations.

    Hi all
    I need to write a procedure which can read data from excel sheet.I have excel sheet in which i have to options one is modification and other is addition.so if it reads modification then i need to read the concerned table name then check its availability in pl-sql datbase.If table exists then reading the realated column in that row to fire the querry. The excel sheet is saved in local disk c.
    can anybody help me with this.How i need to start specialy to read the data from excel sheet saved in local disk c.
    Edited by: user13334062 on Jun 30, 2010 3:45 AM

    Hi
    If you can convert the excel to a csv format, then it can be simply query from DB Creating Oracle External Tables. Best part is that you may still change the CSV using EXCEL.
    Following action Points can be adopt;
    *1. Convert Excel File to a csv. File Save as CSV*
    *2. Create Oracle Directory* ( This has to be the location of your excel file )
    SQL> Create directory mydir as 'C:\testdb'; --- "testdb" is the location folder in win for your excel sheet.
    *3. Create the External Table*
    SQL> create table my_ext_tab (
    Field1 Datatype,
    Field2 Datatype,
    Field3 Datatype,
    Field4 Datatype,
    Field5 Datatype
    Organization external
    (type oracle_loader default directory mydir
    access parameters (records delimited by newline fields terminated by ',')
    location ('my_ext_tab.csv'))
    reject limit 100;
    *4. Now you can query the table "my_ext_tab"*
    Select * from "my_ext_tab";
    Please avoid the reformat the data column inside the spreadsheet (CSV).

  • How to read the data from excel file and store into the table?

    Hi All,
    I have table with BLOB datatype contains a excel file. I have to read that data from excel and store into one table with all the fields in excel.
    All the excel fields and my table columns are same.
    Can you share with me how can acheive this using LOB's?
    Thanks

    Hi OraSuirya,
    you can try with external tables .
    syntax as follows
    create table ext_table_csv (
    i Number,
    n Varchar2(20),
    m Varchar2(20)
    organization external (
    type oracle_loader
    default directory ext_dir
    access parameters (
    records delimited by newline
    fields terminated by ','
    missing field values are null
    location ('file.csv')
    reject limit unlimited;
    For this you need to create directory
    Directory Creation syntax:
    create or replace directory ext_dir as 'D:\oracle\user_dir\ext_dir';
    grant read, write on directory ext_dir to <User>;
    please paste the excel file in the particular directory .
    I hope this will help you.
    Please correct me if I am wrong anywhere .
    Thanks,
    Tippu.

Maybe you are looking for

  • How to solve explode item in sales without BOM

    Dear Gurus, I have a situation like this: Selling a product which includes 2 finish goods items inside, as normal, I can create sales BOM but our customer doesn't want to create new ID for BOM. could you share with me you idea about this problem? Tha

  • Minisap - *** ERROR ***: Cannot determine mshost

    Hi, I have currently install Minisap. Installation was successfull but when I try import a transport using STMS I keep hitting the following error :-- START imp single           NSP        20061004052513              BCUSER       P490 20061004052511

  • How do I show hidden files in Adobe PSE 10 in OSX 10.8.2?

    I have a need to install reliable third party shapes to PSE 10.  This is the path for installation: HD>Library>Application Support>Adobe>Photoshop Elements>10.0>Presets>Custom Shapes I cannot see the Presets folder.  I am assuming this folder is hidd

  • Backing up: rsync broken in 10.4.3?

    I've been using an rsync script to back up my powerbook for going on 3 years. Suddenly, rsync continues to fail before transferring any files with the following error: rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync err

  • Consistent crash when trying to get into my project library

    Just upgraded to iLife '09 and when I opened iMovie for the first time. When I go to my project library and click on my hard drive, I get a iMovie crash. Happens every time. Any ideas?