Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?

Which is the best tool to convert procedures from Oracle to IBM Database

Posted on 2017-04-26
2
Medium Priority
?
34 Views
Last Modified: 2017-07-31
I need suggestion around tools that can be used to convert sql, procedures from Oracle DB to IBM DB2 database.
Thanks in advance
0
Comment
Question by:sajeev varghese
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 46

Expert Comment

by:Kent Olsen
ID: 42109434
Hi sajeev,

As far as I know, there is no seamless "Convert" process.  

If the conversion is to be simply a move of the schema (and data) from Oracle to DB2 the easiest approach would be to create the database on the DB2 side, export the data into a flat file from Oracle, and import the data into DB2.  But there are still quite a few things that you'll have to do by hand.

-  There are different names for similar data types.  (VARCHAR vs VARCHAR2) etc.  The Oracle datatypes will need to be converted.
-  If Oracle tables use a SEQUENCE and TRIGGER to implement an IDENTITY, you'll need to convert them.
-  Date and Time values and handling are considerably different between to two databases.
-  Character sets may be a concern.
-  Procedures and views may need some modification, packages certainly will.

Probably the easiest way to do this is to link the two servers and let the ODBC/JDBC connectors do most of the heavy lifting.
0
 
LVL 25

Expert Comment

by:Tomas Helgi Johannsson
ID: 42120324
Hi!

DB2 LUW 10.1 and newer have a good Oracle application compabiltiy support to easilly transfer Oracle application (Oracle PL/SQL etc) to DB2.

https://www.ibm.com/developerworks/data/library/techarticle/dm-0907oracleappsondb2/

Regards,
    Tomas Helgi
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Join & Write a Comment

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
What we learned in Webroot's webinar on multi-vector protection.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question