Book Image

IBM Db2 11.1 Certification Guide

By : Robert (Kent) Collins, Mohankumar Saraswatipura
Book Image

IBM Db2 11.1 Certification Guide

By: Robert (Kent) Collins, Mohankumar Saraswatipura

Overview of this book

IBM Db2 is a relational database management system (RDBMS) that helps you store, analyze, and retrieve data efficiently. This comprehensive book is designed to help you master all aspects of IBM Db2 database administration and prepare you to take and pass IBM's Certification Exams C2090-600. Building on years of extensive experience, the authors take you through all areas covered by the test. The book delves deep into each certification topic: Db2 server management, physical design, business rules implementation, activity monitoring, utilities, high availability, and security. IBM Db2 11.1 Certification Guide provides you with more than 150 practice questions and answers, simulating real certification examination questions. Each chapter includes an extensive set of practice questions along with carefully explained answers. This book will not just prepare you for the C2090-600 exam but also help you troubleshoot day-to-day database administration challenges.
Table of Contents (10 chapters)

SQL compatibilities

Unlike other database technologies, Db2 can run applications developed in other database technologies with minimal changes.

The Db2 registry variable DB2_COMPAT_VECTOR is used to active this compatibility. Compatibility can be set at different levels. For example, to set compatibility for Oracle, use the db2set command as follows:

    db2set DB2_COMPAT_VECTOR=ORA
    db2stop
    db2start

The following is the list of other databases that are supported under DB2_COMPAT_VECTOR:

  • Oracle (ORA)
  • Sybase (SYB)
  • MySQL (MYS)

Some compatibility features are always active. For example, DISTINCT can be replaced with UNIQUE, and MINUS can replace EXCEPT. Most of the features that are automatically active provide an application portability bridge between Db2 and PostgreSQL or Netezza.

When DB2_COMPAT_VECTOR=ORA is set, the NUMBER, VARCHAR2, and DATE Oracle data types will...