PL/SQL migration from Oracle 7.3 to Oracle 8.1.6

Hi,
I am planning to upgrade from Oracle 7.3 to Oracle 8.1.6. As well from HP-UX 10.20 to HP-UX 11.0.
I do not want to run my PL/SQL code in compatibility mode.
Please suggest migration path.
Also, i want to migrate PL/SQL scripts from 8.0.5 to 8.1.6 on HP-UX 11.0. I know this should be
straight forward migration.
Does the recompilation on HP-UX 11.0 with 8.1.6 environment works fine..?!
I read about the 'utlrp.sql' script to be run to find out the report prior to recompilation on target
platform. If i do this, it should enough OR is there any other ways of doing things..?!
Please post your feedback.
Thanks,
vinod

Hi,
I have never done the migration from 7.3 to 9i. But I had done 8.0 to 8i and 8i to 9i.
Pl/SQL code should work fine as it is. I wonder what will happen if you have any variables declared VARCHAR (not VARCHAR2) ? There can be few places like that, if the application was originally written on Oracle 6.Otherwise, the code should work as it is.
Regarding Pro*C, you need to use the new make file which has come with 9i.
Also, I do not remember exactly, but probably, you need to initialize all VARCHAR veriables declared between BEGIN DECLARE SECTION and END DECLARE SECTION. Initialize all of them with \0 (NULL charactor).
I think that should be enough for 7.x application to run on 9i.
Regards

Similar Messages

  • Data Migration from MS   Excel Sheet to Oracle 9i Database

    Can anyone please help me to perform a data migration from MS excel sheet to Oracle 9i Database. I have an excel sheet from which i need to move data to the database. One of the columns in the sheet posseses multiple new line characters, and which causes a problem while migrating data with the help of SQL Loader. I would like to know whether any utility is available to migrate data directly from MS Excel sheet to the database, or it would he really helpfull for me , if anyone provide me with an alternate solution.

    I think Christian's suggestion will work for easily and quickly.
    1) create table link of Oracle target table in MS Office's ACCESS thru ODBC;
    2) from Access screen, you may easily dump the excel data into the linked table.
    This is very easy and feasible ways. Don't bother to find other ways. The other ways will need you to clear the unwanted carriage return signs first.

  • Migration from Informix 9.4 to Oracle 10g

    We have to perform a migration from Informix 9.4 to Oracle 10g. Many tables, many data and many stored procs.
    We use the Online mode and the imports finish with any errors, but it has not recovered any stored procedures or we can't view the Informix Stored Procedures in the Source Model in the workbench.
    In the importation log appears as no found procedures, but under owner informix are all procedures.
    What we can do?

    In the 10.1.0.4 version of the workbench we create an informix user who will have all the stored procedures.
    If you want these migrated as another user you can right click on the user in the oracle model and rename it for a start.
    If this is a large migration, I would recommend the following.
    1. generate the ddl for the oracle database.
    2. for the users, that will be created, move the objects to the users that you want these in.
    3. Make sure that the privileges that a particular user has is appropriate to use the data and execute the stored procedures if necessary.
    This tool is not just a one shot deal.. It will bring the informix db over to Oracle, but you need to verify the structure and the logic of the stored procedures as being correct.
    Barry

  • Migration from Interbase 7.0 to Oracle 9i

    Hi,
    Does anyone have any documents/tool on migration from interbase 7.0 to Oracle 9i.
    Thanks,
    Divyesh

    Richard,
    To connect to an Informix Dynamic Server, you must copy the ifxjdbc.jar Informix Dynamic Server JDBC driver file to the %ORACLE_HOME%\Omwb\drivers directory before running the Migration Workbench. Otherwise, when you attempt to capture a Migration Workbench database, you receive the following error message:
    No Suitable Driver Found.
    If you receive this error message, copy the ifxjdbc.jar file to the %ORACLE_HOME%\Omwb\drivers directory, then restart the Migration Workbench.
    If this ok and you still get the error message check paths in your %ORACLE_HOME%\Omwb\bin\omwb.bat.
    I hope it helps you.
    Mireille MEGE

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

  • How to migrate  from R/3 4.6 Oracle 9.2 /HPux to SQL on NT platform

    Hello all:
    I am very new to SAP and need to know where to start with this project.
    We are migrating from HP/UX Oracle 9.2 database SAP R3 4.6c to NT based SQL server. After Migration we will be upgrading to ECC5 or 6.
    Can you please tell me where to start. If possibile please be as specific as you can.
    Regards,
    Kourosh

    Check <a href="https://websmp209.sap-ag.de/osdbmigration">OS-DB-Migration Site in SAP Service Marketplace</a>
    Here (Goto Media Library) you'll also find the actual <a href="https://websmp209.sap-ag.de/~sapidb/011000358700002608772002E.pdf">SAP OS/DB Migration Check Planning Guide</a>
    After checking out the ressources mentioned above you can't be more specific...

  • Migrating from non-loggin Informix to Oracle (use of transactions)

    I wonder what happens when I migrate an Informix non-logging database to Oracle. Since my database doesn't use transaction (that's to say: a single DML sentence define a transaction and ttransactions using begin/commit/rolback trans are not used), applications are written with no transaction philosophy. But Oracle is ANSI-compliant and then when I execute a DML sentence, a transaction begin and it'll finish until I send commit or logout. Then, even when migration is ok, my applications will create very large transactions.

    Hi Oscar,
    Without actually viewing the Client application code, I can only make general assumptions..
    You will have to change the client code anyway in order for it to work with Oracle e.g. Informix E/SQL -> Oracle Pro*C. The E/SQL Client code will have to be updated to reflect various changes in the DB environment; for example:
    1. The use of REF CURSORS (passing them back to the client code)
    2. Changes to the hardcoded Informix SQL statements to make them Oracle friendly (especially OUTER joins if you migrating to Oracle 8i)
    3. Altering any E/SQL code that dynamically builds SQL statements (to make sure these SQL statements are syntactically correct in the Oracle model).
    4. DB Connection methodologies.
    5. Changing Informix #include files to reference equivalent Oracle #includes
    6. Differences in date structs and how E/SQL and Pro*C handle dates (Oracle did not support milliseconds until 9i)
    7. Exception handling.
    8. Datatype changes between Informix and Oracle.
    Again, there is no simple solution. A migration project that migrated the DB and Applications 'in tandem' would make it easier to remove logic from the client code and place it in the server (always a good thing) but this may not be feasable in your case.

  • Migrating from non-logging Informix to Oracle (use of transactions)

    I wonder what happens when I migrate an Informix non-logging database to Oracle. Since my database doesn't use transaction (that's to say: a single DML sentence defines a transaction and transactions using begin/commit/rolback trans are not used), applications are written with no transaction philosophy. But Oracle is ANSI-compliant and then when I execute a DML sentence, a transaction begin and it'll finish until I send commit or logout. Then, even when migration is ok, my applications will create very large transactions.
    What should I do? Is there some parameter to configure Oracle in such way it create single-DML transaction (I heard there's something like that in SQL*Plus, but I'm not sure)? Or should I rewrite applications sending commits after every sentence (The worst case, I think)?
    Thanks in advance
    Omar Muqoz

    Hi Oscar,
    Without actually viewing the Client application code, I can only make general assumptions..
    You will have to change the client code anyway in order for it to work with Oracle e.g. Informix E/SQL -> Oracle Pro*C. The E/SQL Client code will have to be updated to reflect various changes in the DB environment; for example:
    1. The use of REF CURSORS (passing them back to the client code)
    2. Changes to the hardcoded Informix SQL statements to make them Oracle friendly (especially OUTER joins if you migrating to Oracle 8i)
    3. Altering any E/SQL code that dynamically builds SQL statements (to make sure these SQL statements are syntactically correct in the Oracle model).
    4. DB Connection methodologies.
    5. Changing Informix #include files to reference equivalent Oracle #includes
    6. Differences in date structs and how E/SQL and Pro*C handle dates (Oracle did not support milliseconds until 9i)
    7. Exception handling.
    8. Datatype changes between Informix and Oracle.
    Again, there is no simple solution. A migration project that migrated the DB and Applications 'in tandem' would make it easier to remove logic from the client code and place it in the server (always a good thing) but this may not be feasable in your case.

  • Migrating from Informix 9.4 to Oracle 9.2

    Hi
    I need to migrate a database from Informix 9.4 to Oracle 9.2.
    There are a third-part application that must be migrated that always run in Oracle databases in others customers.
    I have a script (supplied for the third) to create the objects in Oracle (+- 1200 tables that will be created only with PKs to improve performance).
    My question is: Can I use the migration workbench only to load the data (45 GB)? If no, what can I do to minimize the work?

    Hello,
    Yes this is possible. You need to capture your source Informix database and map it to the Oracle Model using the Migration Workbench. Then you can generate the data unload scripts and SQL*Loader scripts to get the data our of your source database and into the destination Oracle database. For more information on how to do this, please see Chapters 4, 5 and 6 in the Oracle Migration Workbench User's Guide. You can find this document on the OTN Web site at:
    http://download.oracle.com/docs/html/B15857_01/toc.htm
    Regards,
    Jocelyn

  • Migrating from Red Brick database to Oracle 11g -Need help with the process

    Hi,
    I am on this new project were we are migrating from IBM Red Brick Data Warehouse to Oracle 11g. We have a very tight time line. I was hoping if any of you have done this migration before and are willing to share their experience. Any help would be greatly appreciated. I would like to get a brief idea about how to go about the process.
    Thanks in advance!

    Hello,
    that is a matter of supply and demand, and as the demand to migrate Red Brick to Oracle RDBMS is very low, Oracle never included Red Brick into the migration tools.
    If you search in the forums for Red Brick, you will not find much more than this one from the year 2006:
    Re: Migration from rebrick 6.0.3 to Oracle 9i
    Options:
    In general we have the following options:
    1. Oracle Migration Workbench
    2. SQL Developer Migration Workbench
    3. Generic Connectivity
    4. SQL*Loader
    Regarding your dedicated foreign database, option 1 and 2 fail as those tools
    do not work against Red Brick DB.
    Generic Connectivity would be an option if you have an ODBC driver to this database.
    In this dedicated case, you can then set up generic connectivity (= a database
    link to the foreign database using odbc).
    The Oracle database we support generic connectivity can reside on Windows,
    Solaris, HP-UX, AIX and Linux.
    If the Oracle database is on any other platform, you might migrate to a
    database on this platform, then export the migrated DB and then load it into
    the real target db.
    Generic Connectivity will allow you to perform a SQL*Plus copy of tables; this
    means you can create tables like they are defined in your source and transfer
    the data to the Oracle db; but no procedures, triggers or anything coded can be
    transferred.
    Last option (4) is that you generate "flat files". This means ASCII-SPOOL
    Files and then import them using SQL*Loader. As far as I know there is no
    existing SQL*Loader sample file for Red Brick databases exports and you need to
    write them on your own.
    I recommend to read also the following note in My Oracle Support:
    Note 233876.1: Options for Connecting to Foreign Data Stores and Non-Oracle Databases
    Best regards
    Wolfgang

  • Migrate from db2/400 (V5R2) to Oracle

    Greetings!
    We are looking at helping a customer migrate their DB2/400 (V5R2M0) database to Oracle (planned for 10gR2).
    I see there is a Migration Workbench offering for the lower revisions (v4r3) as well as for DB2/UDB, however nothing for V5R2M0.
    There are over 1500 files (tables) to convert so we don't want to have to do a dump & load.
    Any suggestions?
    Thanks!!
    Jim Kotan
    Senior Data Management Architect
    MSI System Integrators
    http://www.msiinet.com
    402-965-2556
    Message was edited by:
    Jim Kotan

    Jim,
    I work for a group in Oracle Server Technologies that focuses on legacy (mainframe and midrange) modernization. There are three options from Oracle:
    1. Oracle Data Integrator (was Sunopsis) - This product is completely written in Java so it can even run on the iSeries/AS400. http://www.oracle.com/technology/products/oracle-data-integrator/index.html
    2. Oracle ransparent Gateway for DB2/400 - Can execute qeuries directly against DB2 to migration the data. http://www.oracle.com/technology/products/gateways/tg4db2400.htm
    3. OWB (Oracle Warehouse Builder) - This is an ETL offering from Oracle. Two options for moving the data FTP (and load the flat files) or if you have an ODBC driver on the iSeries can use this with OWB. http://www.oracle.com/technology/products/warehouse/index.html
    Hope this helps. My team is hear to help with legacy modernizations so don't hestitate to contact me at [email protected]
    Tom

  • Converting SQL statements from MS server 2000 to Oracle 10g

    We are moving over from MS server 2000 to Oracle 10g as our database for Peoplesoft system.
    There are several embedded SQL statements that I need to investigate to see what needs converting.
    So far I can see a need to convert the following:
    Dates.     GetDate() to ?
    Outer joins. *= to LEFT OUTER JOIN
    Has anyone else done a similar exercise and what other functions do I need to convert?
    Thanks.

    Hello
    A quick google search (http://www.google.co.uk/search?hl=en&q=ms+sql+server+oracle+differences&spell=1)
    came up with this:
    http://dba-oracle.com/oracle_news/2005_12_16_sql_syntax_differences.htm
    There's a quite a few more sites listed.
    HTH
    David

  • Migrating from Informix 9.4X to Oracle

    Hello Everybody,
    I am trying to migrate an Informix database to Oracle using Oracle Workbench. I am trying to capture the source DB using the Wizard and when feeding the hostname, port, informix password and server name i am getting the following error "No suitable Driver"
    I have also an ODBC configured same way, and it does work, but I can not get this wizard working.
    If anybody know what can I do, please tell me. Any help will be appreciated.
    Thanks in advance
    Alice

    Before Migrating From Informix Dynamic Server
    To configure an Informix Dynamic Server database for migration:
    1.Verify that the Informix Dynamic Server JDBC Driver JAR file, ifxjdbc.jar, is located in the following directory:
    On Windows:
    OMWB_install_dir\Omwb\drivers
    On UNIX:
    OMWB_install_dir/Omwb/drivers
    2.If necessary, install the Informix Dynamic Server JDBC Driver, version 1.4:
    1.Insert the Informix Dynamic Server CD into your CD drive.
    2.Follow the instructions in the install.txt file located in the JDCC directory to install the Informix Dynamic Server JDBC driver.
    3.Copy the ifxjdbc.jar file of the driver to the following directory:
    OMWB_install_dir\Omwb\drivers
    On Windows:
    OMWB_install_dir\Omwb\drivers
    On UNIX:
    OMWB_install_dir/Omwb/drivers
    3.Ensure that you can connect to the Informix Dynamic Server database from the system where you have installed Migration Workbench.

  • Irec : Data migration from Third party tool to Oracle irec

    Currently we are using 3rd party tool for the recruitment procee. Now ee are moving to Oracle Irec.
    Already we have huge data in current system for the vacancy (around 500 vacanies) and corresponding applicant applied for the vacancy. How can we migrate the data from current Sql server to Oracle Irec. Any webadi available??
    Thanks,
    Siva

    As my understanding there no seeded webadi is avaiable for same reference.
    you can designed conversion program or custom webadi for this purpose. PER_VACANCY_API API will help for Migrating the Data in Oracle.
    Thanks

  • Migration from old mysql version to Oracle, .....

    Hi
    thank you for reading my post
    we have an old database in MySQL , this database has no foreign key because of mysql shortage in past.
    now we want to migrate it to Oracle and we are thinking to use foreign key and other refrential integrity stuff.
    my question is :
    we have for example a table named products and a table named companies and a middle table named products_to_companies. this is a many to many relation because some products come out from several company and each company may have several products.
    how should we define PK and FK for such relation?
    thanks

    Hi,
    Like below ?
    SQL> create table products (id_product number constraint pk_product primary key);
    Table created.
    SQL> create table companies (id_company number constraint pk_company primary key);
    Table created.
    SQL> create table product_to_companies (
      2  id_product number,
      3  id_company number,
      4  constraint pk_pc primary key (id_product,id_company),
      5  constraint fk_pc_product foreign key (id_product) references products (id_product),
      6  constraint fk_pc_companies foreign key (id_company) references companies (id_company)
      7  );
    Table created.Cheers

Maybe you are looking for