Migration: Access 2003 to Oracle SQL

Dear All
I would like to perform a migration from Access 2003, to Oracle 10g. I am using SQL Developer for the task, and have reached the point of capturing the XML file that I exported from Access. I need to create a migration repository on the target database, and this is causing problems as I do not have all the necessary privileges.
In the process, I have been advised that migrations from Access to Oracle are not easy to achieve, and in fact require careful planning before execution. My objective is not really to transfer the data stored within the database file. I only really want to convert Access logic into Oracle SQL code. I was wondering if anyone could advise on the typical odds of success in achieving this task.
I migrated the same Access database to MS SQL Server some time ago and the process seemed to go smoothly. Would it be reasonable then to migrate from MS SQL to Oracle SQL if this is easier?
Any feedback would be very much appreciated.
Thank you.
M

Thanks for your response.
I am not familiar with the intricacies of the process, I'm just following the instructions set out in the Oracle Migrating 3rd Party Databases white paper.
In this document, a process is set out consisting of steps that export an Access database, and then capture it to an Oracle user area with appropriate privileges. The process is achieved through Oracle SQL Developer.
I'd be very grateful if you could expand on your answer if there is a better way of translating Access queries into Oracle SQL. I am aware that an Access front-end is capable of connecting with an Oracle database to execute queries, however, there are considerable limitations in the use of Access that I would like to avoid - hence the migration.

Similar Messages

  • Access 2003 to Oracle Migration Queries

    Hi Experts,
    I have taken up a project to migrate Access 2003 application to Oracle 9i.The Forms and Reports will continue to run in Access 2003 with Oracle 9i database. I decide to use Oracle Migration workbench for the migration purpose.What I think is the back-end i.e. database and queries will be automatically migrated to Oracle 9i but I'm not sure about the front end application.
    Do I need to change front end application to point to database in Oracle 9i or OMW will do that itself.I am also confused with lots of queries that reside in current Access database. I presume these queries will be converted to Oracle procedures/views without any manual intervention but will the front-end application also be modified automatically to point to those stored procedures/views. Otherwise an extensive code change will be required which may result in huge cost.
    Currently the Access application is not using any ODBC DSN as it gets connected to the database automatically. Should the database connection be changed to use DSN prior to Migration?
    One more thing, the application is using single-level linked table. Will the linked table get automatically converted and connected or I need to do anything?
    Could anyone help me in this issue by giving some ideas so I can manage the job efficiently and make proper planning before plunging into the real work.
    Thanks & Regards
    S C

    The Migration Workbench will modify the Access mdb file as part of the migration if you request it, to create the necessary link tables to oracle, it will use an ODBC DSN to do this. This is explained in our documentation. This should be transparent.
    However for complex application, you often have a tuning exercise, to ensure that the jet engine does the "right" thing, and there changes are required, e.g. a two way join, you would want that to happen on the server and not done on the client. This would be same tuning exercise, if the back end was SQL Server.
    In the latest release of the Access plugin, we did a better job migrating queries to views, but you need to plug this into your code.
    Yes, the exporter should extract the information about the linked table, assuming the link is valid at the time of extraction.
    Donal

  • Access 2003 to oracle 9i Migration(Oracle Migration Workbench)

    Hi Experts,
    I have taken up a project to migrate Access 2003 application to Oracle 9i.The Forms and Reports will continue to run in Access 2003 with Oracle 9i database. I decide to use Oracle Migration workbench for the migration purpose.What I think is the back-end i.e. database and queries will be automatically migrated to Oracle 9i but I'm not sure about the front end application.
    Do I need to change front end application to point to database in Oracle 9i or OMW will do that itself.I am also confused with lots of queries that reside in current Access database. I presume these queries will be converted to Oracle procedure without any manual intervention but will the front-end application also be modified automatically to point to those stored procedures.Otherwise an extensive code change will be required which may result in huge cost.
    So, could anyone help me in this issue by giving some ideas so I can manage the job efficiently.
    Thanks & Regards
    S C

    The Migration Workbench will modify the Access mdb file as part of the migration if you request it, to create the necessary link tables to oracle, it will use an ODBC DSN to do this. This is explained in our documentation. This should be transparent.
    However for complex application, you often have a tuning exercise, to ensure that the jet engine does the "right" thing, and there changes are required, e.g. a two way join, you would want that to happen on the server and not done on the client. This would be same tuning exercise, if the back end was SQL Server.
    In the latest release of the Access plugin, we did a better job migrating queries to views, but you need to plug this into your code.
    Yes, the exporter should extract the information about the linked table, assuming the link is valid at the time of extraction.
    Donal

  • MS Access Crosstab to Oracle SQL

    Gurus,
    I am trying to convert MS Access Query to Oracle SQL, What would be the Oracle query for this MS Access Crosstab Query?
    I am working on Oracle 10g so, I can't take advantage of oracle PIVOT function.
    Thank you
    Edited by: 951334 on Aug 10, 2012 6:52 AM
    Edited by: 951334 on Aug 13, 2012 5:51 AM

    if your crosstab columns are static you can use well-known technique like
    select tablespace_name,
    sum(case segment_type when 'TABLE' then bytes end) TABLES_BYTES,
    sum(case segment_type when 'INDEX' then bytes end) INDEXES_BYTES,
    sum(case segment_type when 'LOBSEGMENT' then bytes end) LOB_BYTES
    from dba_segments
    group by tablespace_name;
    for dynamic crosstab columns you require to build this query dynamically in application

  • Migrate From MS Access 2003 to Oracle using Oracle SQL Developer 3.0

    Hello All,
    I am trying to migrate Access DB .mdb using the Oracle SQL Dev 3.0 Data Migration Wizard, everything go very nice and smooth until the Capture Step, for sure am using the online mode, in the Capture Step the list of available databases is empty and a Msg Box saying that the DB list should have at leats one database selected, so I don't know what's that mean or how to fix this.
    in my .mdb file I have four tables and I can copy the data to Oracle using the Right click and copy to Oracle Function, but it really takes much time.
    Any help would be really appreciated and thanks in advance.
    yours,
    Hussein

    Just to clarify:
    You have created the migration repository and start the migration using Tools => Migration => Migrate
    - now you've selected the repositiry
    - specified a project
    - selected the source database
    => you've choosen the ONLINE Mode
    ==>> and now you don't see your MS Access database in the "Connection" List
    Is this correct?
    If the steps you're doing match the steps I've posted above, then please be aware for MS Access migrations you need to choose the OFFLINE method. The MS Access source database information is collected by the MS Access Exporter available from Tools => Migration => MS Access Exporter
    Once you've created the XML/OCP file you specify this newly created file during the OFFLINE migration mode.
    If your steps differ from mine, please post yours more detailed.
    Thx.

  • Migrating Access 2003 DB to Oracle

    Hi.
    I’m trying to migrate an Access 2003 (*.mdb) database to Oracle using this tutorial http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/sqldev_migration/msaccess/migrate_microsoft_access_otn.htm , but i’m experiencing some problems.
    I’ve installed the Oracle Database XE and SqlDeveloper 3.0 without problems.
    In SqlDeveloper, i’ve succeeded in making the connections and users and making an XML export, but when I get to the pint of “Capturing the Microsoft Access Exported XML” I get into problems. The ‘Migration’ point in the menu is simply missing.
    I’ve have searched a bit to check out if I was fx missing an add-in but it seems not to be the issue.
    Can someone tell me how get the Migration point in the menu?
    Instead I’ve tried the Tools – Migration – Migrate Wizard and it seems to work, when I choose the Offline method. But I would like it to work as described in the tutorial. What am I doing wrong?

    Hello,
    The version 3 of SQL Dev introduces a new method to migrate from access :
    1. Create a new connection to this Access Database
    2. Right-click on the connection name and choose "Copy to Oracle".
    You will have then to choose where this database must be copied and if you want to include the data or not.
    Please have a try and keep me informed of the result.
    Cheers,
    Jean-Patrick

  • Migrating access 2003

    Hello,
    This access 2003 schema is not properly normalized and has some design inconsistencies. What's the recommended approach to migrate to Oracle? Migrate to Oracle 9i and fix the issues OR Fix access tables, forms (and code), reports (and any code) and then migrate to Oracle? Thanks in advance for any answers.

    Well if you are going to continue with your Access front end, it might be simpler in the long run to address your schema issues in Access, make any form and code changes you need. Then test the modified application and migrate the schema+data to Oracle and create the necessary link tables to point to the tables in Oracle.
    This approach should reduce the complexity of the migration effort.
    Donal

  • Converting a MS Access Query to Oracle SQL

    Hi,
    We have a large number of MS Access (2000) queries (mostly select queries -Some containing sub queries-) that need to be converted to Oracle's syntax to be used on our intranet instead of the existing Access frontend.
    Do you know of a tool that can do this?
    We understand that conversion tools are not always reliable, but even if 75% of the queries are converted for us we can then focus on the ones that pose problems.
    Regards,
    Charles McGrotty

    Hi Charles,
    The next release of OMWB ( version 92017, due at the end of this year) will contain some support for Select and Action queries. In that version, we will load queries from the source MS Access database into the OMWB repository. Since the MS Access plugin for OMWB does not currently contain a parser, the query text will be commented out and surrounded in an Oracle View stub - this means that the queries can, at least, be migrated to Oracle and then manually converted by the migrator from within the Oracle database. Often, the body text for a select query exactly matches the syntax for an Oracle view, so the manual work required to convert the queries may be minimal. This will be the first step in migrating MS Access Queries that the OMWB provides.
    I hope this information is useful,
    Tom.

  • SQL Exoress 2008 import export Wizard wont import Access 2003 mdb to SQL 2008 DB

    Just installed SQL Express with Tools, including SSME and Import Export Wizard.
    Attempted to transfer Access 2003 DB tables from an mdb file to a SQL 2008 Express DB.
    I can view the data in the tables in Access, however, when I tell it to  do the deed, it begins the process and then errors out with a Error 0xc020801c:
    "TITLE: SQL Server Import and Export Wizard
    Could not connect source component.
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
    ADDITIONAL INFORMATION:
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)"
    I am unable to find anything that translates this into something mere mortals can deal with.  This is repeatable.
    Steps in the wizard:
    1.  Source: Data Source selected is "Microsoft Access".  The filename is correct.  The username is correct.  The password is blank (there is no password in the Access db).  Clicking on the "Advanced..." button, I get the opportunity to "Test Connection".  I test the connection and the test is successful.
    2.  Destination: I select my server name and the SQL Native Client, select Windows Authentication, and Select my SQL 2008 Express db from the dropdown list.
    3.  Specify Tabloe Copy or Query: I select Table copy
    4.  Select Table or Views: I check the tables I want to copy and successfully preview the data in each table that I checked.  I click on "Edit Mappings ..." and verify that I want to create a new table for each checked table.
    5.  Run package: I accept the pre-checked "Run Immediately" and click the NEXT button
    6.  I get the following:
    "Source Location : C:\Users\wb5rvz\Documents\StatisticsApp_V3_69.mdb
    Source Provider : Microsoft.Jet.OLEDB.4.0
    Destination Location : SHACK_PC\SQLEXPRESS
    Destination Provider : SQLNCLI
    Copy rows from `ParentingStats` to [dbo].[ParentingStats]
    The new target table will be created.
    Copy rows from `Statistics` to [dbo].[Statistics]
    The new target table will be created.
    Copy rows from `StatsSummary` to [dbo].[StatsSummary]
    The new target table will be created.
    Copy rows from `Volunteers_Confidential` to [dbo].[Volunteers_Confidential]
    The new target table will be created.
    Copy rows from `YearMonthTbl` to [dbo].[YearMonthTbl]
    The new target table will be created.
    The package will not be saved.
    The package will be run immediately.
    Provider mapping file : c:\Program Files\Microsoft SQL Server\100\DTS\MappingFiles\JetToMSSql9.xml"
    7.  I click the FINISH button and I get
    "Initializing Data Tasks .... Success"
    "Initializing Connections ...Success"
    "Setting SQL Commend ....20% Compoete"
    "Setting Source Connection ...Error (and an error link)"
    (All following tasks were "Stopped"
    Error detail is:
    ===================================
    Could not connect source component.
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (SQL Server Import and Export Wizard)
    ===================================
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
    Program Location:
       at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.AcquireConnections(Object pTransaction)
       at Microsoft.SqlServer.Dts.DtsWizard.Execute.SetSourceConnection(Exception& ex, TransformInfo ti)
    OS is Vista Home Premium SP1 (32 bit)
    Processor = Intel core 2 duo E7200 @ 2.5 GHz
    SQL Server Software was just downloaded yesterday, so it is whatever is current on the download site:
    SQL Express with Tools
    So, how do I get this transform to work?  I do not have nor do I want/afford to put Access 2003 on this machine.
    Thanks
    RRR

    I had this similar problem - 32-bit SQL Server 2005 trying to import tables from Access 2000 .mdb file, same error:
    Error 0xc020801c: Source - ParentingStats [1]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "SourceConnectionOLEDB" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.
     (SQL Server Import and Export Wizard)
    ===================================
    Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
    I know you said you clicked "Advanced..." and Test Connection when you chose your Access database - but that is what resolved the error for me.  I chose my .mdb file, username is admin, password is blank, but if I don't click the Advanced button and test the connection before continuing on, the import fails with above error message.  Go figure, since the username/blank password is correct. 
    FWIW, sorry if that doesn't help you though.

  • 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>

  • OS migration Access(Win) to Oracle(Linux)

    I have migrated a Access DB to Oracle 9.2, both running
    on Windows on the same computer. Now I want to do the same thing but to a Oracle DB running on Linux.
    Is this possible???
    What would the difference be?
    I´d appreciate tips in this matter.
    /Dag

    There is absolutely no difference. Once you have the odbc connection setup to the oracle db, it doesn't matter where it is, on windows or linux.....

  • Migrate Access DB to Oracle

    Hello,
    I downloaded migration tool and did the migration of Access 2000 to Oracle.It worked great..
    But, I am not seeing the converted database in Oracle.Not sure, if I am missing anything.
    I have the converted XML file.
    If anybody throw some light on this, I would really appreciate it.
    Thanks

    you need to use that XML file in the Oracle Migration Workbench and go thru te process of loading the XML, transforming it to the Oracle Model and creating your Oracle Schema in the database. This is all documented in a step by step method in the user's guide
    Barry

  • How to connect access database through oracle sql prompt

    i want to connect access database via oracle , i am trying to import all the data in Access table into oracle table how it is possible .
    A.R

    The simplest way, if You have already created tables in Oracle DB, is to open the Access MDB, link Oracle tables via ODBC and build a query to append rows reading from Access tables to Oracle tables.
    Hope this helps
    Max

  • Migrating Access DB to Oracle Hosted APEX environment

    I was wondering if there was a way to migrate an Access DB to the Oracle Hosted APEX environment using the Oracle Migration Workbench? You have to specify the location of the DB and schema and I don't know this information since the DB location is on the Oracle Hosted site. I would like to evaluate the migration functionality of the APEX tool without having to download it locally along with Oracle 10G. Is there a way to do this using the Hosted website?
    Thanks!

    The quick answer to this is no.
    However, there are some services (http://www.appshosting.com) which do offer that type of access at no charge.
    Thanks,
    - Scott -

  • Best way to migrate SharePoint 2003 data into SQL Server 2008

    Hi Experts,
        I am planning to migrate data from SharePoint 2003 into SQL Server 2008. After the migration SharePoint site will be deleted in couple of months and then that data will be feed into .Net Front end application
    1) What is the best and easy way to do it?
    2) Is there any way to automate the migration process? i.e. If a new record gets entered into SharePoint it should be populated into SQL Server 2008.
    3) Any other suggestions
    Thanks,
    John

    Dear John,
                    If it's just a few lists, and you just want to import them "as-is" then it should be possible to do so ... and survive to tell the about it ;-)
                   Generally speaking, You will need to write a small process (program or script) to read/parse each list and check if the item(s) are in the target table (I assuming that there is a distinct table as target
    for each list, and that each list has 'something" you can use to distinct each row), if it's not there, the just add them according to your needs.  
                   Then just rerun the process periodically and it would keep your databases up to date (you could even set ti up to update those records that have changes, but that would delay your process significantly)
                    What i just described is doable, and not TOO complicated, it could be done i a lot different ways, and with different alternatives of programming/scripting languages. for sure you can do it in any flavor
    of .net language, and even powershell.
                    As I mentioned, this is speaking in general, the actual implementation would depend on your specific needs and the kind of data that you have/need to keep.
    Best Regards / Saludos, Marianok
    Disclaimer: This post, and all included code and information is provided "AS IS" with no warranties or guarantees and confers no rights. Try it at your own risk, I take no responsibilities.
    Aclaración: Esta publicación, y todo en código e información en la misma, es provista "AS IS" / "Como Está" sin garantía alguna y no le confiere ningún derecho. Pruebelo su propio riesgo. No asumo responsabilidad alguna.

Maybe you are looking for

  • How to kill one class from another class

    I need to dipose one class from another class. So that first i have to find what are all threads running in that class and then to kill them Assist me.

  • Itunes No Longer Sees my Ipod on Windows 8

    I was able to sync my Ipod to ITunes a couple of times since upgrading to ITunes 12.  It happened automatically by plugging my Ipod into my PC as usual.  But today ITunes does not identify that my device is plugged in. My Windows 8 PC does recognize

  • Abap program to find the list of reports in complete

    I know we can get from sap easy access in information system but that is not all reports as I always find some report which is not listed there so we want to freeze the list and we want to know if we have any abap program If  u can send me the code o

  • Photo upload pop up window

    When I try to upload a new album to Facebook or pictures to printerpix the photo upload window where I choose which photos to add does not come up, until I click on another screen. But then when it does come up everything is frozen and I have to forc

  • Size limitation in Sticky Notes?

    We have a user who, upon opening her PDF in Adobe Acrobat 7, has difficulty opening and editing some sticky notes.  I noted that one in particular had a large amount of text, and was wondering if there is a size/text limitation in sticky notes? Thank