Skip to main content

Oracle to DB2 Conversion Guide: Compatibility Made Easy

An IBM Redbooks publication


Published on 13 September 2013, updated 03 July 2014

  1. .EPUB (4.6 MB)
  2. .PDF (4.6 MB)

Apple BooksGoogle Play Books

Share this page:   

ISBN-10: 0738438758
ISBN-13: 9780738438757
IBM Form #: SG24-7736-02

Authors: Yvonne Chan, Nick Ivanov and Olaf Mueller

    menu icon


    This IBM® Redbooks® publication describes IBM DB2® SQL compatibility features. The latest version of DB2 includes extensive native support for the PL/SQL procedural language, new data types, scalar functions, improved concurrency, built-in packages, OCI, SQL*Plus, and more. These features can help with developing applications that run on both DB2 and Oracle and can help simplify the process of moving from Oracle to DB2.

    In addition, IBM now provides tools to simplify the enablement process, such as the highly scalable IBM Data Movement Tool for moving schema and data into DB2, and an Editor and Profiler for PL/SQL provided by the IBM Data Studio tool suite.

    This Oracle to DB2 migration guide describes new technology, preferred practices for moving to DB2, and common scenarios that can help you as you move from Oracle to DB2. This book is intended for IT architects and developers who are converting from Oracle to DB2.

    DB2 compatibility with Oracle is provided through native support. The new capabilities in DB2 that provide compatibility are implemented at the lowest and most intimate levels of the database kernel, as though they were originally engineered for DB2. means that the DB2 implementation is done without the aid of an emulation layer. This intimacy leads to the scalable implementation that DB2 offers, providing identical performance between DB2 compatibility features and DB2 other language elements. For example, DB2 runs SQL PL at the same performance as PL/SQL implementations of the same function.

    Table of Contents

    Chapter 1. Introduction

    Chapter 2. Language compatibility features

    Chapter 3. Conversion process and enablement tools

    Chapter 4. Enablement scenario

    Chapter 5. Application conversion

    Appendix A. Terminology mapping

    Appendix B. Data types

    Appendix C. Built-in modules

    Appendix D. DB2CI sample program

    Appendix E. Code samples

    Appendix F. Additional material


    Others who read this also read