Sqlserver_utilities use for migrating MS SQL to 9i - compilation error

I've seen lot of questions about compilation error in the sqlserver_utilities particularly on Oracle 9i database where some procedure and functions are not compiled and required rewritten. The main issues seem to be with new features or tables/views not available in pre-10g such as regex, DBA_IND_STATISTICS, etc. Even though there is a IF clause (
IF NOT DBMS_DB_VERSION.VER_LE_9_2 THEN) to prevent execution, however, it won't work for compilation standpoint.
My question is that do we need to comment this section out or rewrite to work for 9i - for example, DBA_IND_STATISTICS view for last_analyzed is not in 9i, but we can use last_analyzed in USER_INDEXES. Is that the only option (manual labor work :-) to resolve this issue for 9i database?
Thanks in advance,
IC

I think you made the right choice to go with 10g, 9i is obsolete anyway.
The Migration Workbench come with SQL Developer might only work with 10g because it's built pretty new in 2007.
You can try the older version of standalone Oracle Migration Workbench
http://www.oracle.com/technology/tech/migration/workbench/index.html
It support 9i, The Oracle Migration Workbench is a tool that simplifies the process of migrating
Informix, and DB2 databases to the Oracle platform (Oracle9i and Oracle10g). Again, I still believe go with 10g is better choice.

Similar Messages

  • Problems using Quick Migrate in SQL Developer 1.5 for MySQL to Oracle 10g

    Hi all,
    I am trying to use SQL Developer 1.5 migration tools (Quick Migrate) to perform online capture and build source model to migrate from MySQL 5.x to Oracle 10g on Windows platform. I get these errors and the Quick Migrate process fails:
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
    I did a search and used the sqldeveloper.cmd script but still fails. Then I created a new database and truncated the repository. I now get the above error plus two new ones listed below:
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    Error loading nls:OALL8 is in an inconsistent state
    Error occurred during capture: Protocol violation
    It fails during the capture process for MySQL 5.1 database
    when it begins to capture the tables from MySQL.
    Does anyone know how to resolve these issues when migrating from MySQL to Oracle 10g using Quick Migrate with SQL Developer 1.5 release?
    Regards,
    Ben Prusinski
    Message was edited by:
    benprusinski
    Message was edited by:
    benprusinski

    Hi all,
    I put the following in my sqldeveloper.cmd file:
    SET ORACLE_HOME=%CD%
    What is very confusing is that with SQL Developer 1.5, there are several levels and several SQL Developer executables! I am really not sure which of these to use:
    I created the SQLDeveloper 1.5 directory called SQLDeveloper1_5 on Windows:
    1) cd C:\sqldeveloper1_5\sqldeveloper-5338
    there exists a sqldeveloper.exe
    2) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper.exe
    3) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloer\bin\sqldeveloper.exe
    Which SQLDeveloper 1.5 executable should I be using and where should I place the
    sqldeveloper.cmd file?
    Also I did try to use a different database and schema for the repository with Quick Migrate but it appears a bug exists in SQL Developer 1.5 version that causes errors with Quick Migrate for MySQL to Oracle? Is this correct?
    As an update, I ran the following commands:
    cd to
    c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper\bin
    sqldeveloper.cmd sqldeveloper.exe
    Start sqldeveloper.exe
    Perform standard capture for MySQL using the new mig2 schema as the new repository
    It starts the capture but fails on the errors below:
    Error loading nls:OALL8 is in an inconsistent state
    UPDATE
    ============================
    I tried this again and it worked with the exception of one error message listed below:
    Here are the steps that I followed:
    1. Create a Windows cmd script
    Put the following entries in the script:
    SET ORACLE_HOME=%CD%
    save the command windows script as sqldeveloper.cmd
    Copy this script to the base installation directory for SQLDeveloper
    Example:
    1. cd c:\SQLDeveloper1_5\sqldeveloper-5338\sqldeveloper
    2. Start SQLDeveloper with the command script that you created earlier
    Example:
    Open a Windows shell prompt window and execute the following scripts:
    a) sqldeveloper.cmd sqldeveloper.exe
    b) sqldeveloper.exe
    3) In SQL Developer 1.5
    From the Migrate menu,
    a) Delete current repository and create a new schema in Oracle target database call it mig2.
    b) Then create a new repository in SQL Developer 1.5
    c) Right mouse click on the MySQL 5.x database and choose capture
    It worked with the exception of one error message:
    o.jdbc.driver.OracleDriver     
    Error while registering Oracle JDBC Diagnosability MBean.
    So it looks like something is screwed up with my JDBC drivers and configuration for MySQL. How do I diagnose the JDBC driver issue for MySQL?
    Thanks!!!
    Ben
    Thanks
    Ben

  • Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

    I'm trying to migrate a Sql Server 2k database to an Oracle 8i schema using OMWB. After using BCP to collect metadata information on the source database, I tried to capture the source data model and got a "Capture aborted" message on the progress screen (even though then it appears a dialog window reporting "0 errors and 0 warnings", funny!). Down there is the error log OMWB generated. After reading some posts, I changed some columns of the OMWB dictionary that holds the source database name, but still got the same error. If someone can enlighten me on this toppic, I'd greatly appreciated it.
    Here's the error log of OMWB:
    ** Oracle Migration Workbench
    ** Production
    ** ( Build 20050629 )
    ** OMWB_HOME: D:\Datos\Download\Oracle\Oracle Migration Workbench\omwb
    ** user language: es
    ** user region: null
    ** user timezone:
    ** file encoding: Cp1252
    ** java version: 1.4.2_04
    ** java vendor: Sun Microsystems Inc.
    ** o.s. arch: x86
    ** o.s. name: Windows 2000
    ** o.s. version: 5.0
    ** Classpath:
    ..\lib\boot.jar
    ** Started : Fri Feb 23 17:18:48 GMT-03:00 2007
    ** Workbench Repository : Oracle8i Enterprise Edition Release 8.1.6.0.0 - Production
    With the Partitioning option
    JServer Release 8.1.6.0.0 - Production
    Repository Connection URL: jdbc:oracle:thin:@ServerCms:1521:sigcewbc
    ** The following plugins are installed:
    ** Microsoft Access 2.0/95/97/2000/2002/2003 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 2000 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 6.5 Plugin, Production Release 10.1.0.4.0
    ** Microsoft SQLServer 7.0 Plugin, Production Release 10.1.0.4.0
    ** Active Plugin : SQLServer2K
    EXCEPTION :SQLServer2KDisconnSourceModelLoad.loadSourceModel(): oracle.mtg.migration.MigrationStopException: java.lang.IndexOutOfBoundsException: Index: 15, Size: 15
    ** Shutdown : Fri Feb 23 18:00:50 GMT-03:00 2007

    Duplicate thread
    Error when using Oracle Migration WorkBench (Sql Server 2k to Oracle 8i)

  • DataTrigger : can it be used for other pl/sql code than before and after?

    Hi,
    I was wondering whether the <dataTrigger ...../> can also be used for other PL/SQL code than just using it for the beforeReport, afterReport and stuf.
    Just now I placed a call to it in the datastructure, as last entry in a group (for headers f.i.), called it AfterHeaderTrigger, and called a function in a package.
    It didn't fail, but I dont think it excecuted it though.
    So, can you do that?
    thanks
    Ronny

    thanks, that's what I thought.
    It's a shame, it would have been so cool.
    thanks
    Ronny

  • What t_code should be used for migration?

    Hello there,
    our user wants to  migrate  "output vat" account after being audited.
    actually , they start using SAP from 1st. January.2009 but now needs to migrate for reconciliation purpose.
    Journal should be 40) output VAT   /      50) Beginning Balance-BS.
    Since this output VAT does not need any tax code and base amount, i think normal FI transaction like F-02 is not an answer.
    Furthermore, LSMW is not strongly recommended at this time, considering line item to be created.
    Could you let me know what t_code should be used for this case?
    BR.
    J.
    Edited by: Jimmy Choi on Jun 30, 2009 5:41 PM

    Hi
    Note down the G/L accounts you are posting.
    Option 1 :In OBD4 see the account group. change the tax category mandatory to optional field for running the lsmw. afte completion, set the status as earlier.
    Option 2: goto fs00-> see the field status group.-> double click on the FSG-> see the taxes -> make the fields optional.
    with regards
    siva
    Edited by: Siva Rama Krishna Yanamandra on Jul 2, 2009 1:12 AM

  • Connection to use for migration from older intel iMac to newest iMac (2013)

    I have a new iMac on order and since it does not have firewire ports I am wondering what to use for content migration connection from the old (20 inch iMac) to the new one.
    Is my only opion a USB cable?

    I chose Setup Assistant because of advice I was given here, actually. Both Setup Assistant and Migration Assistant work well, but I didn't want any hassles than can ensue with Migration Assistant if you enter a username during the initial setup process that's the same name as what you'll be bringing over with Migration Assistant.
    Using Setup Assistant all of my preferences seemed to make the move just fine. I had to arrange Apple Mail the way I had it before, but that was quick and easy. Even my Dock, which I had on the left side of my screen, appeared in the same location on my new iMac.
    (Your mileage may vary...  ).

  • What wires/adapters to use for Migration Assistant

    I have a lab with 28 Mac Minis. Typically I start the school year by creating a "perfect" computer and using Migration Assistant to make duplicates of that target computer to all the rest. Since these don't have typical Firewire ports, should I be using Thunderbolt to Thunderbolt connectors, using adapters for the newer Firewire ports so that I can keep using existing Firewire cables, or something else?

    What Mac Mini's do you have. Per this
    http://en.wikipedia.org/wiki/Mac_Mini
    al the Mini's have FW. The early ones FW 40 and the latter one FW 800. You can connect the two with an adopter.

  • Tools used for migration

    Hi Techies,
    Our system are on distributed environment. Planning to migrate from HP-UX to Linux.
    Our customer has decided to perform Oracle Golden Gate for DB migration, Can any one suggest if there are any other tools supported by SAP with minimum Zero Downtime.
    Also if any one can share how the Oracle Golden Gate for DB migration and Application migration be performed. I am a new bie to migration.
    Regards,
    SS

    Hi Sandeep,
    You can use Test Data Migration Server (TDMS) to transfer data from sender system to receiver system.
    You have the option of transferring data in reduced form based on 'time slice (TDTIM)' or 'time slice and company code (TDTCC)'.
    You can also copy the full data using the 'full transfer for client specific data' for SAP ERP , CRM, SCM, SRM, GTS.
    There's no downtime required in sender system for TDMS.
    The requirement from TDMS is that optimal number of background and dialog jobs must be available in the sender and receiver system to achieve better performance. Also the hardware should be good enough to support good performanece. You can get more details on this in note 890797.
    And the best results are achieved if the data is selected when the activity is minimum on the sender system. This is possible by executing the Data Selection activity during a lean period in the sender system.
    You can check further documents and guides related to TDMS in the below link
    http://scn.sap.com/community/test-data-migration-server
    Regards,
    Rupam

  • Need Checklist for migrating MS SQL 2005 SP2 to MS SQL 2012

    Dear Member,
    We are in process of  migrating our MS SQL 2005 SP2 db engine / SSIS/SSRS services to 2012.Need to know steps/checklist and experiences of migration.
    I have read on Microsoft site (http://msdn.microsoft.com/en-in/library/ms143393(v=sql.110).aspx), that we can only migrate SQL 2005 with SP4 to SQL 2012.Do we need to upgrade first existing 2005 SP2 to SP4 and then start migration.
    Regards,
    Mahesh 

    Hello,
    Yes, you need to apply SP4 first, if you choose to perform an in-place upgrade.
    You have the option to perform a side-by-side upgrade too. Please refer to the following guide:
    http://download.microsoft.com/download/9/5/3/9533501A-6F3E-4D03-A6A3-359AF6A79877/SQL_Server_2012_Upgrade_Technical_Reference_Guide_White_Paper.pdf
    Hope this helps.
    Regards,
    Alberto Morillo

  • How to migrate from sql server to oracle

    Hi ,
    My requirement is we are planning to migrate the sql server data to oracle.
    what is the way to do migration from sql server to oracle. Please let me know if any tools are there for migration.Previous we used sql developer( which is provided by oracle i.e. freeware )
    tool but it was created only table structures not ported any data.

    Hi,
    Oracle sql developer is a great tool for migration from sql server to oracle..
    Refer the link,
    http://www.oracle.com/technetwork/database/migration/sqlserver-095136.html

  • Designe for migration....

    Hi all!
    My head say that i do use oracle designer for migration by SQL SERVER2000 to Oracle9!
    I have study that it's much possible with migration workbench but he want it!
    Can you say me the different?And if is a good why designer?
    Thank a lot, in advance!
    Marie

    Hi,
    Did you get any answers for this? We are also facing problems while using the FM  BAPI_BUS2177_STAFFING_ADD
    When we call  BAPI_CPROJECTS_COMMIT_WORK it returns with an error. When tried to debug, found that system raises an event save_requested and then error occurs.
    Please let us know, if you resolved the issue and could upload staffing data.
    Thanks in advance.

  • Migration from SQL Server 7.0 to Oracle 9i

    Hi,
    Where can i find whitepapers for migrating from SQL Server
    7.0 to Oracle 9i?
    Thanks in Advance

    hi,
    Download the Oracle Migration Workbench from this site. There is
    a reference guide and online help available with the SQL Server
    7.0 plugin.
    Also, there is a documentation link under the Oracle Migration
    Workbench section.
    Regards
    John

  • BAPI's for Migration of data in SD module

    Hi All,
    I need to know BAPI's used for migrating data from legacy system to SAP, for the following SD scenario's.
    1. Customer Master
    2. Inquiries
    3. Quotations
    4. Proposals
    5. Sales Order
    6. Goods Issue
    Please send suitable answers.
    Regards,
    Sathya.

    Hi,
    1.Go to BAPI Transaction, Under Logistics, you will get BAPIs for SD module.
    2.BAPI_CUSTOMER_CREATE
    BAPI_CUSTOMERINQUIRY_CHANGE
    BAPI_INQUIRY_CREATEFROMDATA
    BAPI_INQUIRY_CREATEFROMDATA2
    BAPI_INQUIRY_CREATEBOS
    BAPI_INQUIRY_GETDETAILBOS
    BAPI_CUSTOMERQUOTATION_CHANGE
    BAPI_QUOTATION_CREATEFROMDATA
    BAPI_QUOTATION_CREATEFROMDATA2
    BAPI_QUOTATION_CHANGEBOS
    BAPI_QUOTATION_CREATEBOS
    BAPI_QUOTATION_GETDETAILBOS
    BAPI_SALESDOCU_CREATEFROMDATA
    BAPI_SALESORDER_CHANGE
    BAPI_SALESORDER_CONFIRMDELVRY
    BAPI_SALESORDER_CREATEFROMDAT
    BAPI_SALESORDER_CREATEFROMDAT
    BAPI_SALESORDER_CREATEFROMDAT
    BAPI_SALESORDER_GETLIST
    BAPI_SALESORDER_GETSTATUS
    BAPI_SALESORDER_SIMULATE
    BAPI_SALESORDER_CHANGEBOS
    BAPI_SALESORDER_CREATEBOS
    BAPI_SALESORDER_GETDETAILBOS
    BAPI_SALESORDER_GETLISTBOS
    BAPI_GOODSMVMT_CREATE (Goods Issue/ Goods Receipt)
    Reward if useful!

  • Unable to Get the Data Using For All Entries

    Hi everybody, i am using for all entries in a program. but when i am writing a code using for all entries i am getting an error as 
    Where condition does not refers to the FOR ALL ENTRIES tables...
    SELECT KUNNR
           NAME1
           ORT01
           LAND1
       FROM KNA1 INTO TABLE ITAB1 WHERE KUNNR IN S_KUNNR.
    IF NOT ITAB1 IS INITIAL.
    SELECT VBELN
            ERDAT
            KUNNR
       FROM VBAK INTO TABLE ITAB2 FOR ALL ENTRIES IN ITAB1 WHERE KUNNR = IT_KNA1-KUNNR.
    ENDIF.
    can anybody help out in this
    regards
    hyder ali

    The correct one may be like this:
    SELECT KUNNR
    NAME1
    ORT01
    LAND1
    FROM KNA1 INTO TABLE ITAB1 WHERE KUNNR IN S_KUNNR.
    IF NOT ITAB1 IS INITIAL.
    SELECT VBELN
    ERDAT
    KUNNR
    FROM VBAK INTO TABLE ITAB2 FOR ALL ENTRIES IN ITAB1 WHERE KUNNR = ITAB1-KUNNR. "modified here
    ENDIF.
    Edited by: XuJian84 on Mar 9, 2010 4:25 AM

  • Urgent: Form Compilation Error using frmcmp.sh on OAS 10.1.2, pls help..

    Hi All,
    I am upgrading from OAS 9.0.4 to 10.1.2 where Forms 10g application is deployed.
    When I try to recompile with frmcmp.sh :
    frmcmp.sh userid=system/oracle123@odb module_type=FORM module=menu1.fmb
    I get errors :
    Compiling Procedure GET_PATH...
    Compilation error on procedure GET_PATH:
    PL/SQL ERROR 201 at line 4, column 32
    Identifier 'APPS_MENU1_DET' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    SQL Statement ignored
    Compilation error have occured.
    Form not created
    What cause this error ?
    FYI, on the above compilation I connect to different database/schema, not the one
    which is used by the Form, is this the reason of th error ?
    During compilation, Do I have to connect to the database/schema I used when develop the form ?
    DO I have to create all tables in the schema first before compilation ?
    Tnank you for your hwlp,
    xtanto
    PS. When I compile the same Form with F90genm.sh on OAS 9.0.4, NO ERROR.

    From my experience it's a really bad idea to install OCS into a AS IM. When it comes to upgrades and patches you'll pull your hair out!
    Why not install OCS first and then install the BI into the OCS AS server... I have not checked the certification matrix but that might be a better solution to look into.

Maybe you are looking for

  • Call mode types: Synchronous and Asynchronous in ABAP process for a chain

    Hello, I have a doubt about the call mode type for a abap type process in a process chain. It has two options: 1.Synchronous 2.Asynchronous Would like to know the diferences between these two; advantages and disadvantages of using them. Thanks in adv

  • A Complaint to the Customer Relationship Unit and the Think Service Centre

    Dear Sir/Madam, I'm a customer of the X60 notebook product. Yesterday (Jan 20) and today (Jan 21) I've been visiting twice the Think Service Centre in Quarry Bay in the hope of repairing a defective part on the casing. The result has been that I was

  • Sun Application Server 8.1  (System Properties)

    When trying to access the System Properties, I get the following exception: <i>org.apache.jasper.JasperException: access denied (java.util.PropertyPermission * read,write)      org.apache.jasper.servlet.JspServletWrapper.service(JspServl etWrapper.ja

  • Should I uninstall?

    I recently ha dot downgrade my computer from 10.6 to 10.5. I then upgraded back up to 10.6. In the process I have encountered a number of software issues. One is that Logic will not open at all. It'll bounce once and then nothing. I am wondering if I

  • IPad mini stuck in restore.

    Hoping someone can help me.  Tried to update my iPad mini to IOS 7.  Update froze, after 30+ minutes I tried restarting the iPad.  Got the iTunes restore screen.  I tried the usual restore steps (which have been posted and re-posted all over this for