Importing Access Data

Is it possible to import data from a Microsoft Access 2000 database into an Oracle 8i database? If so, what are the requirements if any?

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.

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

  • How to import MS Access Data to Oracle

    At form level by clicking a push button I want to import Ms Access Data to Oracle . Is it possible.
    If yes can you tell me how to proceed.

    Done that like this :
    you create a new ORACLE ODBC connection in the ODBC section of the control panel (you are in Windoze world, don't you?). After you open your Access database and do a file, export, external data, scroll down for ODBC and PICK A NAME FOR YOUR NEW ORACLE DATABASE IN CAPITAL LETTERS, you sign in and the export begin...
    Have fun, and remember that if you have special caracter, like me in french, you must errase all of them, because you never know what it is gonna be in Oracle DB.
    null

  • How to import the data in a .xls or .xlsx file into a oracle database table

    Hi,
    Please tell me how to import the data in a .xls or .xlsx file into a oracle database table in Oracle 10gR2 using Oracle Warehouse Builder 10gR2.

    ....can we do something through Non-Oracle->ODBC?Yes, it is possible, look at this thread
    [SQLServer access from AIX Warehouse builder|http://forums.oracle.com/forums/thread.jspa?messageID=2502982]
    If your server (with target DB and OWB runtime) is on Windows OS this configuration will be simpler - you can use single server.
    And additional link on OWB blog (with 11g transparent gateway)
    [http://blogs.oracle.com/warehousebuilder/2008/01/11g_heterogeneous_agent.html]
    (configuring nonoracle connection with 10g generic connectivity very similar to 11g gateway)
    Also look at
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358
    Regards,
    Oleg

  • How do I access  data from one user account to another?

    I want to access data from a different user account. How do I make all the files available?

    I have another post here in the forum that explains in detail about the rez problem. It was read by a lot of people with no responses. 1 thing that might be important is that I was using a Wacom drawing tablet when this problem started. I removed the Wacom software and no help.
    My Apple 23" Cinema display has very large icons but the display prefs says it is at 1920 x 1200. It's not just a low screen rez but the dock and all icons will scroll on the screen when I move the mouse.
    The resolution will not change to anything else. The rez is fine on other user names.
    I have booted from the Apple DVD and run disk repair, repaired disk permissions. Booted and run Tech Tool.
    Booted from the Disk Warrior cd and ran that.
    I have zapped the PRAM. I have plugged the display into the other port on the video card.
    When I change to the problem user name it is fine for about 1 second and then changes to the "problem". I have never seen this before and I have been using a Mac since 1990.
    It's a G-5. Dual 2.0 ghz. 2.5 gb ram. OS 10.5.8. Apple keyboard. Logitech mouse and
    Thanks.

  • Import excel data from OWB10.2

    I wanted to import excel data into OWB 10gr2. So i have followed the steps in the attached link. But i cannot perform the operations from step 6 in OWB 10rR2.
    In OWB10.2 how could i create a new database link. Inorder to create a new module below ODBC i have to give the location. I cannot create the location.
    Step 6: Create an ODBC Source Module and a Database Link
    Use the following steps to create an ODBC source module and database link:
    1. From the Warehouse Builder console, create an ODBC source module. On the
    navigation tree, ODBC modules are listed under the Others node of the Databases
    node.
    2. On the Connection Information page, click New Database Link to create a new
    database link that reads data using the data source created. Figure 3–3 shows the
    entries used on the New Database Link dialog.
    Note: Ensure that the initialization parameter GLOBAL_NAMES is set
    to FALSE in the database's initialization parameter file. FALSE is the
    default setting for this parameter.
    Step 6: Create an ODBC Source Module and a Database Link
    3-4 Oracle Warehouse Builder Case Book
    Figure 3–3 New Database Link Dialog
    Notice that the Oracle Service Name field uses the Oracle system identifier
    specified for the agent.
    3. Ensure that the Use for Heterogeneous Services option is selected.
    Because you are not accessing an Oracle database, you can enter any value for
    username and password.
    4. Create and test this database link. Close the New Database Link dialog.
    5. Leave the Schema name <unspecified>. Click the Change Schema button and
    select <unspecified>. The Connection Information page now looks as shown in
    Figure 3–4.
    Step 8: Create a Mapping to Load Data Into the Target Table
    How Do I Load Data Stored in a Microsoft Excel File? 3-5
    Figure 3–4 Connection Information Page
    6. Create a new deployment location for the module or specify an existing location.
    http://www.oracle.com/technology/products/warehouse/pdf/Cases/case3.pdf
    But i cannot create in OWB10.2.
    Can any body suggest me the process.

    Gillies,
    I am not able to create a new location for ODBC in connection explorer.
    Which option should i consider. Should i consider database link or host:port:service or sql*net connection. suppose If i take database link option what is the description i have to enter in database link box. Should i create a database link manually from sql*plus.

  • Error while importing the data

    Hi All,
    In fdm i am trying to Import the data but i am getting the below error while importing text file.
    Error: An error occurred importing the file.
    Detail: Data access error.
    also the below is the log found ..
    2012-02-14-01:04:42
    User ID...........     admin
    Location..........     mine
    Source File.......     C:\Hyperion\products\FinancialDataQuality\Mineapp\Test2\Inbox\mine\load_demo2.txt
    Processing Codes:
    BLANK............. Line is blank or empty.
    ESD............... Excluded String Detected, SKIP Field value was found.
    NN................ Non-Numeric, Amount field contains non numeric characters.
    RFM............... Required Field Missing.
    TC................ Type Conversion, Amount field could be converted to a number.
    ZP................ Zero Suppress, Amount field contains a 0 value and zero suppress is ON.
    Create Output File Start: [2012-02-14-01:04:42]
    [TC] - [Amount=NN]     Accounts,Market,Year,Product,Scenario,Data
    [Blank] -      
    Excluded Record Count..............1
    Blank Record Count.................1
    Total Records Bypassed.............2
    Valid Records......................2
    Total Records Processed............4
    Begin SQL Server (BCP) Process (2): [2012-02-14-01:04:42]
    [RDMS Bulk Load Error Begin]
         Message:      (-2147217900) - Data access error.
         See Bulk Load File:      C:\Hyperion\products\FinancialDataQuality\Mineapp\Test2\Inbox\tWadmin56465844032.tmp
    [RDMS Bulk Load Error End]
    Please help me out i am really helpless and dont know how to solve this error.

    When you perform a bulk load, you basically tell SQL Server to execute a command local to the SQL server. What that means is that if you pass it a parameter that says load the file :
    C:\Hyperion\products\FinancialDataQuality\Mineapp\Test2\Inbox\mine\load_demo2.txt
    SQL Server is going to look on it's C drive for the file.
    Unless you have SQL Server running on the FDM server, this is going to fail obviously.
    The 'right' thing to do is setup your FDM app using a share name. (i.e. \\FDMSERVER\FDMAPPS\Mineapp instead of c:\Hyperion\products\FinancialDataQuality\Mineapp).
    If you are relatively handy with FDM, there is a config file (in XML) that has the path information for the apps and you just need to change it from the hardcoded C drive reference to the share you create.)
    Your other option is to NOT load the fiels as bulk. If you have a lot of large data files being loaded, this would be a bad idea. If you have relatively small load files every month and not a lot of users on the system, this may not impact performance. I would update the path information if it were me.
    Charles

  • How do I import the data from Excel (.xls) file into Oracle Database table

    I have an excel file with 5 columns of 5000 rows.
    I have to import 5000 rows of data into my oracle table with
    same column names & Data types.
    What is the best advise for this ?
    Thanks.
    Srini

    You can connect to Oracle from Excel directly. I know you can read data but am not sure if you can export data.
    Other option is to import the data into Access.
    Create an ODBC connection for Oracle
    Use the to connect to Oracle from Access
    Export data to Oracle from Access
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • Problem in importing calendar data

    Hi, I have a problem in importing calendar data, i.e. no national holidays are imported in the calendar (neither when I create the calendar nor later on using the settings). After waiting quite a while on the window "importing calendar data" I always get the message:
    "Unable to access calendar data - There was an error attempting to access a shared calendar using your internet connection. Check your connection settings and try again".
    That happens whatever the national holidays I choose.
    My internet connection works fine, so I don't understand where the problem is. Would anyone have useful hints?
    Thanks.

    Log into another account on you Mac and see if you can add holidays there. If not then a reinstall of iPhoto is indicated. To do so you'll have to delete the current application and all files with "iPhoto" in the file name that reside in the HD/Library/Receipts folder.
    If you can import OK in the other account then the problem is with your primary account. It could be a preference file other than iPhoto's. Here's how to determine if that's the case:
    Trouble Shooting Preferences in Leopard
    1 - Create a folder titled "Preferences A" on the Desktop.
    2 - Open the working Preferences folder, HD/Users/your_name/Library/Preferences, and move the contents to the Preferences A folder on the Desktop.
    3 - Make a duplicate copy of the Preferences A folder on the Desktop as a precautionary backup.
    4 - With the working Preferences folder empty run the application again and determine if the problems is fixed.
    NOTE: you may have to drag the contents of the working folder to the trash and empty if moving the contents to the A folder only copies them instead of moving.
    5 - If the problem is fixed:
    A - open the working Preferences folder (HD/Users/your_name/Library/Preferences).
    B - Open the Preferences A folder on the Desktop, select all of the contents and drag them into the working Preferences folder.
    C - When the Copy window pops up check the "Apply to All" check box and then click on the Don't Replace button as seen here.
    6 - If the problem is NOT fixed, empty the working Preferencess folder and move the contents of the Preferences folder on the desktop back into it.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Importing XML Data into a Reader Extended PDF

    I'm using designer 9 to create a PDF that will import an XML document on initialization and will use that document to populated multiple dependent dropdown lists.
    That's working fine in preview when I use xfa.datasets.data.mydataset to access the XML document and proceed to manipulate the XML with e4x.
    Now I have the form working correctly in designer preview and I want to reader extend the form and configure the data connection to access the XML file dynamically instead of using the preview data.
    I've tried a few methods of accessing the data via a reader extended form and they have all failed.
    I've tried to call importData("local filename") and access the XML file that way. That appears to fail silently.
    I've also tried to embed the XML in a hidden form field and the XML document length apparently exceeds the max character limit so I can't do that.
    So how can I import the XML document on form initialization either through a) importing the data(ideally through a web URL)  or b) embedding the XML document directly in the form somewhere?  Thanks.

    Hi,
    It's indeed possible to import data in a reader enabled form with Reader.
    Here's a sample:
    LiveCycle Blog: XML per Skript in Adobe Reader importieren//Import XML via Script into Adobe Reader

  • How do I Access Data in XML Connector

    I have an XMLConnector attached to a xml file and bound to a
    label. This is working fine.
    My question is:
    How do I access the data values in a component or the
    XMLConnector through actionscript. I can see the values in their
    components so I know the data binding worked.
    Whatever I try returns undefined or null for the value.
    Different things I tried:
    // I tried getting it directly out of the data holder -
    returned undefined.
    var postions:Number = dh_rack.mountingPositions;
    //Tried getting it out of the XML Connector.
    import mx.data.binding.*;
    var dataTypeObj:mx.data.binding.DataType =
    this.xmlConn.getField("results", "rack.positions");
    var test = dataTypeObj.getAsNumber();
    var positions3 = dataTypeObj.getAnyTypedValue().value;
    Any help would be appreciated.

    I believe you have to use the following syntax:
    var positions:Number = dh_rack.data.mountingPositions
    or
    var positions:Number = dh_rack.data[mountingPositions]
    Good luck. I never get replies for my posts except from
    myself.

  • Error in import table data using oracle datapump

    i am trying to import table data using oracle datapump
    CREATE TABLE emp_xt (
    ID NUMBER,
    NAME VARCHAR2(30)
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_DATAPUMP
    DEFAULT DIRECTORY backup
    LOCATION ('a.dmp')
    it return the following error
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04084: The ORACLE_DATAPUMP access driver does not support the ROWID column.
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19
    please help me

    .dmp file generated from exp command file not from oracle_datapump

  • Has anyone had issues with Administration\Data Import/Export\Data Import???

    Has anyone had issues with Administration\Data Import/Export\Data Import???
    I have a client who has recently upgraded from V2007 to V8.81. They were succesfuly  using this standard function to import supplier prices to their master price list, but now it has failed?
    I have looked at the file they are importing and it appears to be fine.
    On closer inspection, it did contain approx 46,000 entries, so I took the first 1,000 and created a test file, which imported fine.
    The only issue I found was Speed, with the test file of 1,000 records taking about 30 Mins to import. This appeared to get slower and slower the further through the file it got!
    Based on this, I have estimated that the whole file would takle about 13 hours to import. The client say that when they used to run it on version 2007 it was far quicker?
    In practice, it does appear to run, but the speed is the issue. Having said this, I set the whole file to run last night (over night)and this morning it had appeared to hang after about 2,307 rows, with nothing else being updated.
    Has anyone any ideas or is aware of performance issues like this?
    Thanks,
    Ian

    Always an option, but would you give your clients access to this tool?
    Not sure really.
    I have uploaded a copy of their database onto my test system and run the same routine. Its equally as SLOW
    I can't gauage if its an issue with 8.81 that 2007 didn't have, as I only have the client's word on it, however I have no reason to disbelieve them.
    Kind regards,
    Ian

  • Import Access into Oracle

    Hi,
    I have some access tables (may be nearly 60) in one Windows PC. I need to import all the data into Oracle Database. This has to run every day night. So I need your help to import the data into oracle the easier, faster way.

    Are you trying to do an incremental load every night? Or would you be able to do a full load from Access to Oracle every night?
    What operating system is Oracle running on? Can the Oracle database server connect to the Access database? If so, you could potentially use Heterogeneous Connectivity to create a database link from Access to Oracle and write PL/SQL that would extract data from Access and load it into Oracle.
    Justin

Maybe you are looking for

  • HELP! 500 error on install

    I am running XP Pro, IIS is newly reinstalled (std), reboot, virus software turned off, firewall off, ColdFusion 8 installed, no errors shown. Try to run Administrator to finalize setup and all I get is 500 - server error. I have scoured the site her

  • Delivery Date error while creating/uploading POs using LSMW

    Hi, I am facing problem in creating POs using LSMW. I am using direct input method with standard object 0085 for PO upload. But I am facing problem because of delivery date in the PO. There are basically two errors that I am getting: 1) When the deli

  • I know there must be an answer, but I cannot find one....

    Recently my daughter "misplaced" her iPod touch. I know the serial # and it was registered with Apple. There should be a way for the iTunes store to recognize if it is connected and report it found. I know about www.ihoundsoftware.com, but I did not

  • How can I edit headers or footers in a section of my PDF doc without removing all of the them?

    I have merged several files into a single PDF.  I need to edit headers, but I don't want to remove all the headers in the document, only in a particular section.  How can I do that? The only option I see is Document, Header and Footer, Remove.  That

  • Handling BAPI responses..

    Hi.. I am using the Bapi --> BAPI_BOM_UPLOAD_SAVE for BOM creation.. so while creating the BOM i am giving the mandatory fields for the creation of a BOM. For eg: if i create a BOM using this BAPI, if the BOM is successfully created then a response w