Copy access data into oracle with form builder 9i

hello
i need to copy/import data and tables from an MS access database into oracle 9i database. the situation is each time i login to my forms applicatin i will need to do that. any idea pls...
the access db is frequently updated. so when i login into my forms application it needs to be reimport the data from access db. can any1 pls help me?

To my opinion, there are 3 potential approaches :
1. rewrite the application, that data are stored directly in the oracle database
or the program writes flat files somewhere to the file system which are able getting
imported from the target instance on daily basis or job driven;
2. The "Access-driven approach" : link oracle tables into the MS-Access application
using an ODBC-connection and build a macro in Access which is exporting the stuff to
the target instance; in order to do so, the Oracle Client and ODBC-Drivers needs to
get installed on the PC where MS-Access is started to start the exportation process
(which is probably yours).
You may then create tables in the target instance and link them from within Access
using ODBC as the datasource
3. The "Oracle driven approach". explained in detail here, never tried it, but maybe
worth a look
http://www.orafaq.com/node/60
Basically, install the Oracle Software on a PC, configure an ODBC-Connection and start a
Listener there;
The target instance (which may no run on a UNIX system) is now able to commuincate
with the local running listener on your PC which itself is instantiating a connection to
the Access "Database" using the ODBC-Connection.
In this way, your PC acts as a database server from the Oracle Net point of view.
In theory, this could even work, depending on the ability to connect from the
instance server directly to the given IP of your PC (Security ?? Hmmmz)

Similar Messages

  • Importing Access Data into Oracle Forms through Forms 10g

    Sirs,
    How can i import the data of Access file into Oracle tables.
    i have the tables in access of approx 10 how can it be imported in oracle with same data structure.
    ThanX in advance

    DECLARE
    kAccess client_ole2.obj_type;
    kdb client_ole2.obj_type;
    ktables client_ole2.obj_type;
    krec client_ole2.obj_type;
    kcurr client_ole2.obj_type;
    begin
    kaccess:=client_ole2.create_obj('Access.application);
    kdb:=client_ole2.invoke_obj(kaccess,'open','D:\acc.mdb');
    ktables:=client_ole2.get_obj_property(kdb,'tables',1);
    //then process teh data of the table which is at 1 using another
    krec:=client_ole2.invoke_obj(ktables,'count');
    for s in 1 .. krec
    loop
    /// code for sinserting the current records data into the oracle tables.
    kcurr:=client_ole2.get_obj_type(ktables,'recordset',s);
    // then access each filed in kcurr and then insert in oracle table
    end loop;
    end;
    the above code is not tested your can alter any syntatical error if any.

  • Error when using SQL Developer to IMPORT Access data into Oracle

    Hello,
    I am using SQL Develoepr to export Access mdb file into Oracle. When I try to use Tools ---? Migration---> Microsssfot access exported -->
    I am getting an error message upon attaching the Access database file, the error states
    "Error#40179 - XMLExporter - Methiod'AddFromFile' of object'_References failed. Export did not complete successfully.
    What could be the reason for this error please advise.
    Thanks

    Hi,
    Try searching for:Re: 30EA2 - No Available Databases in Capture step with MS Access Migration
    Thread: 30EA2 - No Available Databases in Capture step with MS Access Migration
    Posted: Dec 20, 2010 11:04 AM
    Also note that copy to oracle - (for just table/column information) is available on right click.
    -Turloch
    SQLDeveloper team

  • Best way to migrate Access data into Oracle 10g?

    what's the best and easiest way to migrate MS Access database into Oracle10g?
    Thanks

    you can check out this thread ms access db to oracle 10g
    <p>also as neil mentioned you need an ODBC to established a database connection between ms access and oracle. be sure that the tables are existing in oracle so you move the data from ms access to oracle tables.</p>

  • Can I integrate Lotus database into Oracle with ODI

    I would like to know is it possible to integrate Lotus into Oracle with ODI.
    I know that Lotus database (file extension .nsf) is not an relational database, but it is possible to extract the data from Lotus database into XML and ODI supports XML
    so one solution would be to convert Lotus database to XML and then integrate the data into Oracle with ODI (Am I wrong?)
    Is there another solution, where I could directly integrate data from Lotus into Oracle with ODI

    IBM do provide JDBC access to Lotus Notes data. This is likely to be the best way. Google "LOTUS NOTES JDBC DRIVER" and you find links to IBM's info.

  • Error while importing data into Oracle 11gr2 with arcsde 9.3.1

    I am getting error while importing the data into oracle 11g r2. We are using arcsde 9.3.1
    It seems to be having some problem with spatial index creation.
    kindly help
    IMP-00017: following statement failed with ORACLE error 29855:
    "CREATE INDEX "A3032_IX1" ON "DGN_POLYLINE_2D" ("SHAPE" ) INDEXTYPE IS "MDS"
    "YS"."SPATIAL_INDEX""
    IMP-00003: ORACLE error 29855 encountered
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfergm]
    ORA-13200: internal error [ROWID:AAAT5pAA9AACIy5AAQ] in spatial indexing.
    ORA-13206: internal error [] while creating the spatial index
    ORA-13033: Invalid data in the SDO_ELEM_INFO_ARRAY in SDO_GEOMETRY object
    ORA-06512: at "MDSYS

    Guys,
    I am also getting the same error and also my issue is like I am not even to analyze for which indexes I am getting error. It does not hve any indx name before error.
    Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/DOMAIN_INDEX/INDEX
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfer]
    ORA-29400: data cartridge error
    ORA-12801: error signaled in parallel query server P000
    ORA-13249: Error in spatial index: [mdpridxtxfergm]
    ORA-13200: internal error [ROWID:AA
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfer]
    ORA-29400: data cartridge error
    ORA-12801: error signaled in parallel query server P002
    ORA-13249: Error in spatial index: [mdpridxtxfergm]
    ORA-13200: internal error [ROWID:AA
    ORA-39083: Object type INDEX failed to create with error:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Error in spatial index: [mdrcrtxfergm]
    ORA-13249: Error in spatial index: [mdpridxtxfer]
    ORA-29400: data cartridge error
    stack cnt....
    How can I find for which indexes it is failing?
    Thank you,
    Myra

  • Loading MS Access Table and Data into Oracle

    Hi,
    I have few tables in MS Access. I want to create same layout of tables in Oracle and want to populate data from MS Access tables to Oracle tables.
    Please let me know if there is a way by which I can create tables and load data automatically (thru some option or script)?
    I have Oracle 10g database and its clients.
    Thanks in advance,
    Rajeev.

    You can use Oracle migration workbench
    Loading MS Access Table and Data into Oracle
    It´s very easy to use and good to import
    regards,
    Felipe

  • Problems with special characters uploading data into oracle database

    Greetings
    I have a problem uploading data into oracle tables from sybase datasource. The data that I want to upload is in Spanish, for example when I have a varchar field with the data 'Consultoría', in oracle table the data upload with interrogation symbols.
    I have my source and target datastores configured as follows.
    Any suggestion? Thank you for your time

    Chack section 10 Locales and Multi-byte Functionality in the SAP Data Services Reference Guide for an exhaustive description of NLS settings.
    As a summary, following settings are required:
    locales in the datastore definitions match the actual locale used in the associated databases
    the locale of the DS engine allows for source to target translation
    the character set in the target database supports storage of accented characters

  • Want to load excel data into oracle table with out changing it to CSV

    Hello all,
    I have a requirement in dumping excel data into oracle database table without changing it to CSV file and this has to be used in normal sql/plsql environment i.e., pkg/procedure cant be used in the forms also...
    so, can u guys can help me out in this
    thanks.............

    The link Pavan provided discusses Oracle Heterogeneous Services. This allows you (using ODBC) to create a database link from Oracle to a non-Oracle data source like Excel. This would allow you to query the Excel data source from SQL*Plus or any other client tool. But that is probably going to require that your Oracle database is running on Windows since I'm not aware of any Excel ODBC drivers for Unix.
    Another potential option would be to write a Java stored procedure that parsed the file. There are a few different Java libraries that can read and write Excel data files. You could load one of those libraries into the database's JVM and then write Java code that parsed the file. You would then be able to call your Java stored procedure from PL/SQL.
    Justin

  • Need help to upload Excel Chinese data into Oracle

    Hello
    I am very new at internationalization. We are writing an application that
    reads Chinese data from a Microsoft Excel file and writes it out into Oracle
    8i. This is what we have done:
    1. Use JDBC-ODBC driver to read the Excel data directly from .xls.
    2. Write data into oracle database.
    When we open Excel, we can view the Chinese characters. When we use SQL
    PLus, we see only ????. When we write another servlet to retrieve the data,
    it is displayed as ????. The few questions I have are:
    1. How can I verify that the Chinese data has been accurately inserted into
    the database?
    2. Do I need to set anything special (environment variables, config files
    etc) in BEA Weblogic 5.1 and Oracle 8i?
    The environment we have are:
    1. BEA Weblogic SP9 running on WIn NT.
    2. Oracle 8i running on Solaris.
    Thanks

    Make sure that the characters are correct in the app server after you get
    them out of Oracle and before you put them into the web page. This will help
    you determine if the problem is in the JDBC access to Oracle or the encoding
    into the web page. Make sure that you verify that the hex values of each
    character from the db test case are what you expect.
    Peace,
    Cameron Purdy
    Tangosol Inc.
    << Tangosol Server: How Weblogic applications are customized >>
    << Download now from http://www.tangosol.com/download.jsp >>
    "Bernard Ong" <[email protected]> wrote in message
    news:[email protected]...
    Hi Kev
    1. "It doesn't work" means that I still see ??? in the database. WHen I
    retrieve the data, it is still displayed as ??? in a browser.
    2. Codeset to use to display should be UTF-8.
    3. Charset in database server is UTF8. I did a "select * from
    database_parameters" to get this value.
    4. I copied the Chinese characters from Excel and pasted on Notepad. Icould
    see the Chinese characters with the Chinese emulator turned on. WHen Icopy
    ??? from SQL*Plus and paste it into notepad, I see ???.
    Presume:
    1. Yes, running SQL*PLUS on BEA machine.
    2. BEA machine running on WIndows 200 professional. We downloaded aChinese
    emulator. WIndows 2000 is the English version.
    Cheers
    "Kevin Lu" <[email protected]> wrote in message
    news:[email protected]...
    Hi Bernard,
    Please first clarify:-
    1) "It doesn't work" means... cannot display the chinese character as
    you
    desired?
    2) Which codeset that you want it to display, Chinese traditional big5?UTF-8,
    i would think it's still in Java/JDBC codeset.
    3) What's the charset in the database server? Get help from DBA if you
    not
    sure
    how to obtain this information.
    4) Try paste the result(select via SQL*Plus) onto Win Notepad, what's
    the
    outcome?
    Presume:
    1) you're running SQL*Plus on your BEA machine?
    2) BEA machine is running on Chinese O/S or hv NJStar installed andrunning?
    Let me know if i could be of further help.
    -Kev
    "Bernard Ong" <[email protected]> wrote:
    Thanks Kev.
    We had changed the registry in the BEA machine to
    AMERICAN_AMERICA.UTF8.
    THis was done for the Oracle registry in the BEA machine.
    Unfortunately,
    it
    still doesn't work.
    Cheers,
    Bernard
    "Kevin Lu" <[email protected]> wrote in message
    news:[email protected]...
    Hi Bernard,
    I take about the same approach as you while resolving codeset
    problem.
    So,
    first
    i make sure SQL*Plus could display my desired result before proceedto
    application(be
    it Swing, servlet, JSP console etc..). You may try set the NLS_LANGon
    your client
    machine(same machine as where you run SQL*Plus) to the SAME as
    database
    server
    character set, for instance America_American.US7ASCII. You should
    able
    to
    see
    the Chinese characters.
    Hope this help with your first question. I can't help for the restanyway.
    good luck!
    -Kev
    "Bernard Ong" <[email protected]> wrote:
    Hello
    I am very new at internationalization. We are writing an
    application
    that
    reads Chinese data from a Microsoft Excel file and writes it outinto
    Oracle
    8i. This is what we have done:
    1. Use JDBC-ODBC driver to read the Excel data directly from .xls.
    2. Write data into oracle database.
    When we open Excel, we can view the Chinese characters. When we useSQL
    PLus, we see only ????. When we write another servlet to retrievethe
    data,
    it is displayed as ????. The few questions I have are:
    1. How can I verify that the Chinese data has been accurately
    inserted
    into
    the database?
    2. Do I need to set anything special (environment variables, configfiles
    etc) in BEA Weblogic 5.1 and Oracle 8i?
    The environment we have are:
    1. BEA Weblogic SP9 running on WIn NT.
    2. Oracle 8i running on Solaris.
    Thanks

  • How to copy the Data From Oracle Table To SAP Table

    Hi Friends,
    We need to copy the data from Oracle Database Table to SAP Table. The data should be updated simultaneously in both tables . Should I write a program that contains the native sql statement like EXEC SQL PERFORMING WRITE,....
    I appreciate any suggestions regarding this.
    Regards
    CSM Reddy

    Hi,
    since you posted this question in the DB2 forum I assume that you are using a DB2 database for your SAP system.
    To access a table from a legacy ORACLE database you may use the DBSL multiconnect feature. I.e. you open a secondary connecction in the SAP system to your ORALE database. You can then ready the data from the ORACLE database into an ABAP internal table and insert it afterwards into the DB2 table on the main connection.
    Another way to access an ORACLE table from a DB2 database is to use the DB2 federated database feature. This requires a little bit more DB2 skill. With this feature you can make the ORACLE table visible within the DB2 database. To copy data you can then simply use a "INSERT ... SELECT" statement. 
    Regards
             Frank

  • Best method to load XML data into Oracle

    Hi,
    I have to load XML data into Oracle tables. I tried using different options and have run into a dead end in each of those. I do not have knowledge of java and hence have restricted myself to PL/SQL solutions. I tried the following options.
    1. Using DBMS_XMLSave package : Expects the ROWSET and ROW tags. Connot change format of the incoming XML file (Gives error oracle.xml.sql.OracleXMLSQLException: Start of root element expected).
    2. Using the XMLPARSER and XMLDOM PL/SQL APIs : Works fine for small files. Run into memory problems for large files (Gives error java.lang.OutOfMemoryError). Have tried increasing the JAVA_POOL_SIZE but does not work. I am not sure whether I am changing the correct parameter.
    I have read that the SAX API does not hog memory resources since it does not build the entire DOM tree structure. But the problem is that it does not have a PL/SQL implementation.
    Can anyone PLEASE guide me in the right direction, as to the best way to achieve this through PL/SQL ??? I have not designed the tables so am flexible on using purely relational or object-relational design. Although would prefer to keep a purely relational design. (Had tried used object-relational for 1. and purely relational for 2. above)
    The XML files are in the following format, (EXAMINEEs with single DEMOGRAPHIC and multiple TESTs)
    <?xml version="1.0"?>
    <Root_Element>
    <Examinee>
    <MACode>A</MACode>
    <TestingJID>TN</TestingJID>
    <ExamineeID>100001</ExamineeID>
    <CreateDate>20020221</CreateDate>
    <Demographic>
    <InfoDate>20020221</InfoDate>
    <FirstTime>1</FirstTime>
    <LastName>JANE</LastName>
    <FirstName>DOE</FirstName>
    <MiddleInitial>C</MiddleInitial>
    <LithoNumber>73</LithoNumber>
    <StreetAddress>SomeAddress</StreetAddress>
    <City>SomeCity</City>
    <StateCode>TN</StateCode>
    <ZipCode>37000</ZipCode>
    <PassStatus>1</PassStatus>
    </Demographic>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>1</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    <Test>
    <TestDate>20020221</TestDate>
    <TestNbr>2</TestNbr>
    <SrlNbr>13773784</SrlNbr>
    </Test>
    </Examinee>
    </Root_Element>
    Thanks for the help.

    Please refer to the XSU(XML SQL Utility) or TransX Utility(for Multi-language Document) if you want to load data in XML format into database.
    Both of them require special XML formats, please first refer to the following docs:
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/xsu/xsu_userguide.html
    http://otn.oracle.com/docs/tech/xml/xdk_java/doc_library/Production9i/doc/java/transx/readme.html
    You can use XSLT to transform your document to the required format.
    If you document is large, you can use SAX method to insert data into database. But you need to write the code.
    The following sample may be useful:
    http://otn.oracle.com/tech/xml/xdk_sample/xdksample_040602i.html

  • I want to load data into Oracle using XML & Java - hints??

    I have a XML files that are created on a timed basis....they describe a photo and point to a dir where the photo is stored...like...
    <image>
    <user>bill</user>
    <img>photo.jpg</img>
    <img_dir>'/tmp/photos'</img_dir>
    </image>
    I'd like to write a Java program that parses the XML and loads the images, data into Oracle.
    Suggestions on Oracle tools, downloads that will help me accomplish this???
    Thanks!

    Depending on whether you want assistance in doing the insert into the database or whether you don't mind writing the JDBC code to perform the insert, you can get by with only our XML Parser for Java v2, which implements SAX, DOM, XPath, and XSLT standards. The latest beta release (2.1.0) supports SAX2 and DOM2.
    If you want help inserting the XML into tables, then in addition to this, you might want our XML SQL Utility as well.
    http://technet.oracle.com/tech/xml
    Steve Muench
    Lead Product Manager for BC4J and Lead XML Evangelist
    Author, Building Oracle XML Applications
    null

  • How to insert XML/dtd data into oracle db

    Hi,
    I have posted this question on couple
    sites and unfortunately I haven't received
    any response. Hopefully this time,
    someone can at least direct me to the
    website/document/sample codes which can provide me solutions of my question.
    My question is:
    Given a DTD, can the XML SQL Utility generate
    the database schema?
    I am trying to find out how the XML data can
    be loaded into the oracle database.
    Thanks in advance,
    Judy
    null

    A DTD does not contain enough information to do a good job at creating a database schema. It contains no datatype information, no field length information for starters, so a table created by a hypothetical DTD->to->Tables utility would be at best able to create a table with all VARCHAR2(4000) columns. Not that useful.
    My book contains lots of examples of techniques for loading XML data into Oracle, include lots of sample code and a whole chapter devoted to building a flexible "XMLLoader" utility for loading XML of arbitrary size into the database.
    Steve Muench
    Development Lead, Oracle XSQL Pages Framework
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • Importing excel data into oracle tables

    Hello gurus,
    Importing excel data into oracle tables..
    I know this is the most common question on the thread ...First, i searched the forum, i found bunch of threads with loading data using sqlloader, converting excel into .Txt, tab delimited file, .csv file etc....
    Finally i was totally confused in terms how to get this done....
    Here is wat i have
       - Excel file on local computer.
       - i have laod data into dev environment tables(So no risk involved, but want to try something simple)
       - Oracle version 11.1.0.7
       - Sqlplus and toad (editors)
    Here is wat i like to do ....i dont know if its possible
        - Without going to unix server can i do everthing on local system by making use of oracle db and sqlplus or toad
       SQLLOADER might be one option...but i dont want to go the unix server for placing files and logs and stuff.
    Wat will be best and simplest option to do?? and wat format will best to convert from excel into csv, or txt or tab delimited etc.....
    If you suggest sqlloader, any code example will be greatly appriciated.
    Thank you so much!!!

    Hi,
    user642297 wrote:
    Imran,
    This is increadible option in toad!!! It works absolutely sweet!! I have toad 9.7 version. IT works great. Thank you so much!!You are welcome :)
    Well i have further discussion on this ....this option is great if you doing in staging or development area. What if your doing in prod?? If you automating the sqlloader then how do u do it?? I think we still need to stick with traditional approach of laoding data by making use of SQLLoader right ?? If m wrong please correct me.well, in our case, we do have access to a custom schema in prod where we create the staging table and load the data from datafiles.
    try this:
    load data
    infile 'C:\dest.csv'
    into table dest_table
    fields terminated by "~" optionally enclosed by '"'
    TRAILING NULLCOLS
    (name,
    owner_nm,
    description_column,
    UPDT_DT DATE 'MM/DD/YYYY')
    {code}
    you can get more info about sql loader and your error here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch05.htm
    http://www.allinterview.com/showanswers/53766.html
    And one more quick question ...i found an example of control file , in that i see .dat format file. Is it a data file ?? can i try that option ?? But in excel i didnt see to convert the .dat format file.
    Any thoughts ???
    It is same as a delimiter text file.
    steps to create a .dat file (from a excel file):
    1. Insert a column between two columns and populate it with the delimiter (in our case, it is ~)
    2. Save the file as unicode text.
    3. Open the file in text editor and remove all the tabs (find an replace with blank)
    4. Save the file as "DEST.dat". Select encoding as UTF-8 while saving.
    5. Your .dat file is ready.
    Regards
    Imran
    Edited by: Imran Soudagar on Apr 22, 2010 10:22 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Manual unmount Firewire hard drives before shutdown

    I'm having shutdown problems again possibly due to my new firewire hard drive, the firewire driver supplied by OS X, or some combination thereof. The issue is if I don't manually unmount my Firewire hard drive, the MacBook Pro does not ever properly

  • Can I add or change sections of the template chooser window?

    I would like to add more sections that just "My Templates".  Anyone know how.  I tried to do it in library but wasn't sucessful yet.

  • How to draw 2 seperate lines w/Pen tool?

    Hello:                                                                                     Level: New Newbie  OS: Windows 7 64bit It's me again w/the same tut at: http://designinstruct.com/drawing-illustration/how-to-make-a-golden-compass-in-illustra

  • Submit with select-option

    Hi all. I have a strange problem in which I'm asctivating an abap program with parameters. The parameters are being passed fine but the select-option is being passed wrong. so_vbeln-sign = 'I'. so_vbeln-option = 'EQ'. so_vbeln-low = 'IEQL'. Although

  • SetRootVisible - not as advertised

    Hi Everyone, I can't get JTree.setRootVisible to work. I've subclassed JTree and call setRootVisible in the constructor. Then I add the nodes. If I call it passing true, all the nodes I add are collapsed but visible (which is fine). If I call it pass