Migration MS ACCESS to Oracle ApEX

Hi All,
We have just started with migration MS ACCESS 2000 based application to Oracle Database(10...),front end being ApEX 3.0 now.
After first migration of application today i noticed that All Queries(129 total) are invalid.Analysys shows that Query coming to Oracle is similar to that in MS ACCESS and no views have been created e.g.:
MS ACCESS query:
SELECT [ClientPricing_History].[ClientID], [Client List].[ClientAbbrev], Last([ClientPricing_History].[EffectiveStart]) AS LastOfEffectiveStart, Last([ClientPricing_History].[EffectiveEnd]) AS LastOfEffectiveEnd
FROM ClientPricing_History INNER JOIN [Client List] ON [ClientPricing_History].[ClientID]=[Client List].[ClientID]
GROUP BY [ClientPricing_History].[ClientID], [Client List].[ClientAbbrev];
The same query comes in Oracle,as we know that symbols like '[' or ']' are not supported by Oracle.
Secondly no views have been created and thridly many MS ACCES funciton like 'LAST()' are not supported in Oracle.
Can some one Give the initial inputs that how to correct them automatically rhater thna taking Manual steps to correct each of the 129 queris manually.?
Many thx....

Hi
In the Migration work bench log file we see the following errors,resulting in failure of migration of access queries into Oracle views:
Failed To Convert View qProposalMaintenance_DeleteScenario > 2008-BLUEBOOK-db-2.qProposalMaintenance_DeleteScenario:unexpected AST node: EXEC_PARAM_LIST: Line -1 Column -1
Failed To Convert View qPricePoint_StdTierPrices_Filter > 2008-BLUEBOOK-db-2.qPricePoint_StdTierPrices_Filter:unexpected end of subtree: Line 0 Column 0
Failed To Convert View qDictionary_2004_CPI_Update > 2008-BLUEBOOK-db-2.qDictionary_2004_CPI_Update:Can't find template TSQL_insertStatement.st
Translation limitation 'Forms' encountered on View 2008-BLUEBOOK-db-2.qProposalDev_Offerings line 2 column 50

Similar Messages

  • Error # 3021 - Invalid Relation. --- MS Access to Oracle APEX

    Hello everybody.
    I have 3 years working with Oracle APEX and now I have the need to migrate an Access database to Oracle and APEX.
    I have:
    - MS Access 2003 database
    - Oracle SQL Developer 3.0.04.34
    - Oracle 10g Database
    I will try to provide all the relevant information.
    I used the Access Exporter for Access 2003 tool from Oracle SQL Developer to creat both .xml (for SQL Dev) file and .sql file (for APEX) but the process show me an error mesassge that said: "Error # 3021 - Invalid Relation. No current record".
    I read in OTN forum that it was because the migration tool can not access the system tables and that I need to modify permisions to allow "Read Data". I did this process and I was able to create .xml file, however if I chose Application Express to create .sql file or the option to create both files the same error shows.
    I have been reading in this forum but didn't find a way to solve it.
    Does any body knows how to solve this issue?
    Any help is appreciated.
    Thanks in advance for your help.

    Hello,
    I can't reproduce your issue.
    Have you double-checked that the tables MSysAccessObjects, MSysACEs, MSysObjects, MSysQueries and MSysRelationships are visible and that the Admin user has at least Read Design and Read Data permission on those tables?
    If that is the case, and the problem still happens, and you are able to give a copy of your .mdb file to Oracle, then I suggest to open a Service Request with Oracle Support so that the issue can be investigated.
    Regards
    Wolfgang

  • Migrating MS Access to Oracle 11gR2

    Environment 1:
    Windows 7 (64-bit), Microsoft Access 2003 (32-bit), Oracle SQL Developer 4.0.0
    Environment 2:
    Windows XP (32-bit), Microsoft Access 2003 (32-bit), Oracle SQL Developer 4.0.0
    Has anyone succeeded in migrating an MS Access database to Oracle 11gR2?
    In environment 1, I cannot add a connection to the MS Access database.  And, yes, I tried odbcad32.exe from both %windows%\System32 and %windows%\SysWOW64.
    In environment 2, I can connect to the MS Access database. 
    I tried to follow "Migrating a Microsoft Access Database to Oracle Database 11g" (http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/sqldev/r30/MSAccessMigration/MSAccessMigration.htm), but in the section on "Capturing the Microsoft Access Exported Files", it happily states: "The procedure for creating the Microsoft Access database scripts has been completed for you and the files are available in the zip file provided in the prerequisites." and I cannot find a reference to how those scripts were created, so I'm stuck there.
    The Quick Video entitled "Migrating from Microsoft Access to Oracle" (http://www.oracle.com/technetwork/database/migration/access-084991.html) captures a Sybase database instead, so no luck there either.
    Section "2.2.4.3.1  Creating Microsoft Access XML Files" of the "Oracle® SQL Developer User's Guide" states:
    "To prepare for capturing a Microsoft Access database, the Exporter for Microsoft Access tool must be run, either automatically or manually, as explained in Section 2.2.5, "Capturing the Source Database". This tool is packaged as a Microsoft Access MDE file and it allows you to export the Microsoft Access MDB file to an XML file."  But there's nothing whatsoever relevant to this issue in section 2.2.5.  Nor in the "Oracle® SQL Developer Supplementary Information for Microsoft Access Migrations".
    I tried Tools -> Migration -> Create Database Capture Scripts... but there's no MS Access to select. 
    I tried Tools -> Database Export... but cannot connect to the MS Access database.
    Stuck again.
    I tried right-clicking on the MS Access db and selecting the "Copy To Oracle..." option, but nothing happens.
    I tried using Tools -> Migration -> Migrate
    but at the capture stage, I get an error "java.lang. Exception:  The plugin used to capture this model is not available.  Please re-install the plugin and try again before convert."  But I cannot find a reference to a plug-in for MS Access.
    I tried Tools -> Database Copy... but cannot select the MS Access database as source.
    I found ckw460's entry in this forum at https://community.oracle.com/thread/2593134 and found "Oracle Application Express 4.2" at http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html and in the zip the omwb2007.zip (s)he mentioned.  I assume I'd have to use omwb2003.zip, but it is unclear to me how to apply it.
    I.e., lots of frustrations and after well over a day, I'm still nowhere.
    Can anyone assist?
    Kind regards,
    Herta

    Hello Herta,
    sorry for the delay, but just found your thread.
    The MS Access Migration has been dropped from the SQL Developer V4 as the JDK 1.7 does not have the JDBC/ODBC bridge included anymore. The V4 option is only offering the "Copy to Oracle" function which works when you open the MS Access connection, check out the tables present and then do a right click on that table and select "Copy to Oracle".
    Another option would be to use the 3.2 SQL Developer release.
    - Klaus

  • Migrating from Access to Oracle - Captured Model did not convert

    I'm trying to convert an Access database 2003 to Oracle using SQL Developer. I've worked through the migration process to the point where I need to convert the Captured Model to a Converted Model. The first time I ran that step, the application told me there were some issues with some indexes and didn't convert my captured model. I decided to delete my captured model and rerun the process from the point where I import the .xml file and recreate the captured model. I then tried again to create my Converted Model and again it didn't generate. The Converting Database dialog box tells me that it's 'converting the database' and it's 'transforming identifiers' but it just hangs and does nothing. What did I do wrong and how to I correct my issue so that I can create my Converted Model?
    Thank you.

    I was able to get past the Capture Model "hang up" business about three weeks ago. (I'm trying to migrate the Access 2003 Northwind db to APEX 3.2/Oracle 10g.) I found a thread in another forum that noted the problem could be due to a memory issue. This particular post referred to an omwb.bat file in a folder omwb. This may have been referring to an earlier version of SQL Developer -- I could not find the bat file. I'm using SQL Developer Version 2.1.1.64.45. I did, although find a sqldeveloper.bat file in my installation path: C:\Software\sqldeveloper_2.1.1.64.45\sqldeveloper\sqldeveloper\bin. In that file there is one very long java command. And at the very start of that command, I changed
    from: java -Xmx640M -Xms128M .................
    to: java -Xmx1024M -Xms640M ................
    In the java documentation (http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/java.html) this notes that changing these parameters effect the size of the initial and maximum memory allocation pool.
    So that was pretty great -- that it worked. I am at the point now where I've retrieved it all into APEX but it is all invalid and there are so many issues going on all at once that I need to put the project on hold. There is not very much management patience for something like this that goes on and on. Maybe I'll work on it a bit at night now.
    Hope the memory thing helps someone.

  • While migrating from access to oracle ??

    While loading data from SQL Loader, DATE is taken as dd-mmm-yy (eg: 18-MAR-02) even after specified in "mm/dd/yyyy HH24:mi:ss" in controlfile. How to resolve this problem ???
    rgds,
    manish

    Hi,
    Did you follow all the steps in the SQL*Developer documentation about preparing the Access database for migration -
    Oracle® SQL Developer User’s Guide Release 3.0 -
    2.2.4.3 Before Migrating From Microsoft Access
    and -
    Oracle® SQL Developer Supplementary Information for Microsoft Access Migrations Release 3.0
    2.4 Preparing the Microsoft Access Database for Capture
    The error also indicates there may be a problem with your Access installation so could you check that everything is okay with that ? I have found references that indicate a re-install of Office/Access will prevent the error.
    Regards,
    Mike

  • Migration from Access to Oracle 10g (Problem with migration wizard)

    Hi
    I have an access database which I want to migrate to Oracle DB.
    I have created 2 connections.
    1. Access connection with the source database
    2. Oracle connection.
    I have associated the oracle connection to the repository.
    When I go through 'MIGRATION WIZARD' process. I am not able to view the source database file while capturing. Tried it several times.
    Need a help in this
    Regards,
    Arjun
    Edited by: 919650 on Mar 9, 2012 2:47 AM

    Arjun,
    you cannot do an online migration with MS Access as you can do with other foreign datasources. You can only do an offline migration.
    The first step that you need to do is to call the Microsoft Access Exporter. Click on Tools - Migration - Microsoft Access Exporter and chose the exporter of the MS Access version that you are using.
    The exporter creates an xml file for you. After the exporter has finished you can do the migration, click on Tools - Migration - Migrate, but in Step 4 please select "Offline", and then you can select the xml file that the exporter has created. The following steps in the Migration assistant are then doing the migration for you.
    You might also want to read the chapter "Before Migrating From Microsoft Access" in the online help of SQL Developer.
    Regards
    Wolfgang

  • OLE object Migration from Access to Oracle through SQL developer

    Hello,
    I used sql developer 3.1.07(oracle 11g) to perform data migration from MS ACESS.
    the MS access data has a column with data type as "OLE object" ---there
    saved a lot of pdf files .
    Then I performed "copy to oracle" from MS access connection, the OLE data
    changed to BLOB from oracle database, and data seems to be copied to
    database as binary . However none of the data in the column can be opened. I
    download the blob data to a file from sql developer and tried to open
    using Adobe 8.1 with no success.
    How can I fix this issue? or I should say, how can I migrate MS access OLE data to oracle?
    Thanks,
    H.M.

    thx - will have a look
    Edited by: kgronau on May 22, 2012 4:32 PM
    The original PDF content starts with:
    %PDF-1.4
    %ª«¬
    4 0 obj
    <<
    /Creator (Apache FOP Version 1.0)
    /Producer (Apache FOP Version 1.0)
    /CreationDate (D:20120521131845+02'00')
    >>
    endobj
    5 0 obj
    <<
    /N 3
    /Length 12 0 R
    /Filter /FlateDecode
    >>
    stream
    But when I try to save the content in the BLOB as a file it claims about a missing mime extension and when I ignore this message and save the file anyway as a PDF the content is corrupted.
    It shows as :
    Acrobat Document ..
    ´4 0 obj
    <<
    /Creator (Apache FOP Version 1.0)
    /Producer (Apache FOP Version 1.0)
    /CreationDate (D:20120521131845+02'00')
    >>
    endobj
    5 0 obj
    <<
    /N 3
    /Length 12 0 R
    /Filter /FlateDecode
    >>
    stream
    Did you also get the missing mime type error message?

  • Migration from Access to Oracle through SQL developer

    Hi,
    I want to migrate an mdb file which contains a set of tables to oracle. During this process, i have created schema and all the tables in Oracle using DDL scripts. I would like to transfer only the data to Oracle from access through SQL developer. How can I do that?
    Regards,
    Meena

    Hi Meena,
    You mention that you have created the schema and tables in Oracle using DDL scripts. Did you use the Oracle SQL Developer Migration Workbench, creating a Migration Repository, to carry out this process? I see from your other postings that you are experiencing issues using the Exporter tool, which would lead me to believe that you haven't used the Migration Workbench to migrate your database. Obviously you will need to resolve your Exporter issues before you can proceed to the next phase of the migration process. I will aim to assist you with those issues on the seperate thread - ShowSplashScreen("_OracleSplashScreen",3) error The XML file generated by the Exporter tool forms the basis of your MS Access migration.
    In order to migrate your data from MS Access to Oracle using the Migrate Data option in Oracle SQL Developer, you will need to have access to the Migration Repository used for the migration of the MS Access database. The information contained in the Converted Model, in the Migration Repository, is used during the data migration process. The data migration requires the following connections:
    1. a source database connection i.e. a database connection to the MS Access MDB file
    2. a target database connection i.e. a database connection to the migration Oracle schema
    3. a Converted Model connection
    For further information on the creation of a Migration Repository, and the migration process, please refer to the accompanying documentation available via the online Help within Oracle SQL Developer, and also from OTN - http://download.oracle.com/docs/cd/E10405_01/doc/nav/portal_booklist.htm.
    I hope this helps.
    Regards,
    Hilary

  • Migrating from Access to Oracle

    Hello......
    I am trying to migrate a table from Access to Oracle. It contains approx 850,000 rows, and I tried using SQL Server's DTS Import/Export tool to perform the migration. However, this export/import has been running for almost 48 hours (crazy, huh?!), and I'm only at 350,000 records loaded. This tool is obviously not sufficient for a migration of this size.
    Can anyone suggest a better way for me to go about this?
    Thanks,
    -Christine

    Hi,
    If you have DDL structures in Oracle, then you can save the access data as .csv file format. you using any opensource tool you can migrate it.
    Or you can go for sql loader also.
    Cheers,
    Moorthy.GS

  • Problems with migrating from access to oracle

    OMWB has a few problems with upper and lower case letters, when i try to modify my old access DB OMWB cant find the new table in Oracle:
    (3011 The Microsoft Jet database engine could not find the object <name>. Make sure the object exists and that you spell its name and the path name correctly. )
    the problem is that it searching for AP_BILD.A990BILDER but the correct name is AP_BILD.a990Bilder
    when i recreate the table as AP_BILD.A990BILDER it worked.
    but i cant do that for almost 400 tables!
    any suggestion how to fix this?
    also have a problem when creating the trigger:
    OMWB puts the tablename into 2 double quotation marks each side (""name"") and of course it tells me something of a tablenamelength of NULL and it doesnt work
    working with release 9.2.0.1.0 of OMWB

    update: if i try to link the table from access directly it also cant find the table, but can find other tables (the others are in upper case).
    could it be a problem with the odbc driver? does it automatically look for upper case names?
    anyone know how to fix this?
    thanks in advance

  • Problem migrating MS Access to  Oracle 8i using Oracle Migration Workbench

    Downloaded Migration Workbench. Ran setup but it says that the Migration Workbench must be installed into an Oracle 9 home. I though it would work with Orachle 8 (according to the documentation). We obly have ORacle 8i here.
    Does anyone know away around this?

    Hi Caroline,
    the workbench just needs to be installed into an Oracle 9i home or a new ORacle Home. It will still work against an Oracle 8i database.
    There is a dedicated Migration Workbench discussion forum available.
    John

  • Very difficult migration from MS Access to Oracle with SQL Developer

    Dear Developers
    I have tried to used for one Project Oracle Sql Developer Migration from Access to Oracle (Application Express). Was about an evaluation if Oracle Express (with Application Express) or Mysql (with PHP) as target database.
    I am working with Oracle for 14 years and i earn my money in projects related with Oracle. Of course i am sentimental and i push every time when an opportunity comes to have as an option Oracle.
    This time beside my sentimental approach the decision was different.
    I will tell you why and i hope that someone there will listen and make something for a better Product.
    I was trying yesterday the whole day to migrate an Microsoft Access database. A nightmare....
    1. Microsoft Access Exporter 2000 was too slow. For a 25 MB Access database, running time was 15 Minutes. And 15 minutes to obtain an undocumented error. I followed your instruction and eliminate all references etc... as you described in HELP. a lot of time necessary to read and do..... After that i obtained an Error #..16. Sorry that i don't provide you with an exact number error. i don't have it right know and personally i am not interested anymore. For this error i don't find nothing in forums about it.... Search again and again..... Every time after waiting 15 Minutes in which you don't know exactly what application does or if really does something. I decided to delete sequentially macros, modules, forms, querys from Access database and see where Exporter stops... Time and time lost for trying and searching.... Finally i obtained my XML file only by keeping my Access tables. The file was produced even if i obtained at the end Error #5:..... Because was an error i am not really sure if the file was completly consistent with my database.
    2. I followed the next steps and with some errors (enabling, disabling constraints, objects couldn't be created because of different reasons) i had my Model and Oracle Schema. I have tried to export the data from Access and import it in Oracle. data exported was in UTF8 and SQL Loader Control file doesn't have
    LOAD DATA
    character set utf8
    So i tried to add the string "character set utf8" in my dozens of CTL files - with a freeware of course.....
    Maybe you can say that if i knew that from the beginning i would have set my character set in SQL Developer. I don't know and i will not ever try with this product!
    So finally after hours of working and trying and playing with my nerves, reading a lot of forums and documentation, i had an Oracle schema, maybe incomplete because of different errors at so much migration stages.
    And now i have tried for the first time in my life MySQL Migration Toolkit. I read that for migration to MYSQL this tool is what i needed.
    I recommend you to try the product and see something about the quality required for a piece of software. Is not enough if your product runs OK with Nortwind DEMO Access database. It should run OK with all ACCESS databases.
    With the tool i have done the job in 5 MINUTES. Simple, efficiently and without errors. At the end i had the SQL Scripts and the DATA imported in the database.
    Difficult to say something now. I am sentimental but i asked mysef if you can do something to improve the quality of the product.
    What arguments can we provide for a client in Migration from Access to Oracle ???? Can you honestly answer at that?
    Please try this MYSQL Migration Toolkit.....Maybe this give you some ideas about simple tasks and about what we really need...
    Best regards
    Adrian

    Dear Barry and Kgronau
    Thank you very much for your response. My Post was after a long day of trying to import an MDB file.
    Maybe you can understand why i was so angry...
    Yes i understand that your tool try to do more than other even if actually you don't really convert too much.
    From Modules to make some procedures where the whole code is commented! .....
    For other MDB which i tried to import in APEX the forms where really not usable. Queries are full of errors requires most of the time manual corrections.
    I am sorry that i can not provide you with this MDB which cause these problems.
    Data and software doesn't belong to me and the company which own it can not provide to you.
    What i hope from your product is, even when errors come, to show a better error explanation. At what object in Access error ocures ? This is very important because i can correct my MDB or just delete the module,form,query in cause if SQL Developer doesn't like it....
    Just showing an error Error #.... doesn't help me too much. And if an error occurs i don't know if program continues to work or is dead. No information about this. Maybe you can show that your application is alive and does something (working status etc...) ! Anyway we wait long minutes in front of dead screen....
    Again, thank you very much for your attention
    Adrian

  • Error: Access to Oracle migration

    am trying to migrate MS access to oracle using Oracle work bench but my tables are empty. Getting error
    Unable to migrate data from source table "SUMMARY_OF_METHODS_1" to destination table billing.SUMMARY_OF_METHODS_1 :
    [Microsoft][ODBC Microsoft Access Driver] Could not find file "(unknown)".
    I have checked that I have proper user dsn for Ms Access database.
    I have xml file in same folder where .mdb is.

    Please refer to MS Access Data Migration posting.

  • Multiple columns in migrating MS Access

    Migration workbench Access 97 -> Oracle 8.1.6
    During capture of source data, multiple columns are generated for each table. In fact, columns of one table are duplicated on all others tables ==> building of Oracle model hangs for violation of unique constraint.
    Thanks for your help to fix it.
    null

    DatabaseMetadata.getColumns() if you want to get the data on some table in the DB
    or
    ResultSetMetaData.getColumnCount() and ResultSetMetaData.getColumnName() if you want to get the data on a result returned from some query.

  • Migrate Access Reports to APEX

    We already built reports by using Microsoft Access to query one Oracle Schema (11G R2) and generate all the access based reports. We would like to migrate the Access based reports to APEX platform, Are there any best approaches to achieve these? Thanks for your help.
    Kevin

    You DON'T MIGRATE Them, you will have to recreate them in APEX.. Have you done ANY development work before in APEX? If Not, I would suggest this tutorial to help learn APEX..
    http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35122/toc.htm
    Thank you,
    Tony Miller
    Ruckersville, VA

Maybe you are looking for

  • How to get active network interface name?

    Hi All, Can any one tell me how to get the currently active network interface name (Local Area Connection/ Wireless Network Connection/ other) either by using java SDK or win32 API. Is there any function to get the active network interface name in ja

  • URGENT : Password management

    Hi I'm in the position where i am required to put a constraint on the user (eg:scott) where the person that logs in is not allowed to change the password, ie: alter user scott identified by other_password will not be allowed. Can anyone help me on th

  • $50K, How would you setup 4man Edit Suite?

    We just got a nice cash infusion and I'm looking to finally setup our office. Could those of you with suites or the know let me know what I should generally have for a networked 4 man bay. Gonna hit the Apple store on 5th and Tek Serve but wanna have

  • ITunes Keeps Crashing Upon Opening

    I'm running iTunes on my Dell Laptop with Windows XP. Since I downloaded the last patch from a week or so ago, each and every time I boot up iTunes, it loads the interface then promptly crashes stating "The instruction at '0x009102eb' referenced memo

  • Changing color table for intensity graphs

    Hi, I've been working on superimposing intensity graphs and I'm almost getting it, I'm just having trouble with color table, it is suppose to be composed of a 1-D array of 256 colors I have 2 intensity graphs each with a different color table (256 co