IBM® DB2® Database for Linux®, UNIX®, and Windows® Version 9.5 introduces a number of features that greatly simplify the task of migrating applications from other relational database vendors to DB2. These features are described in this document.
The Application Porting Guide includes information on the following topics:
- Features that are enabled by default, such as the new scalar functions BITAND, BITANDNOT, BITOR, BITXOR, BITNOT, DECODE, EMPTY_BLOB, EMPTY_CLOB, EMPTY_DBCLOB, GREATEST, LEAST, and NVL; improvements to the TO_DATE and TO_CHAR scalar functions; the lifting of several SQL language restrictions; synonyms for the proprietary syntax of other RDBMS vendors; global variables; an ARRAY collection data type; and increased identifier length limits.
- Features that can be selectively enabled by setting a new DB2 registry variable named DB2_COMPATIBILITY_VECTOR. These features include an Oracle-compatible implementation of hierarchical queries using CONNECT BY PRIOR syntax; support for the outer join operator, (+); syntax and semantics to support the NUMBER data type and the VARCHAR2 data type; a pseudocolumn named ROWNUM that is allowed in the SELECT LIST and in the WHERE clause; and a dummy table named DUAL that provides a capability that is similar to SYSIBM.SYSDUMMY1.
|Document in PDF format||ApplPortGuide.pdf||495KB|
- For more information, see "DB2 Viper 2 compatibility features".
- For detailed information about porting Oracle applications to DB2, see the "Oracle to DB2 Conversion Guide for Linux, UNIX, and Windows".
- For information about the IBM Migration Toolkit (MTK), see "Migrate Now!".
- Browse the technology bookstore for books on these and other technical topics.
Get products and technologies
- Download a free trial version of DB2 Enterprise 9.
- Now you can use DB2 for free. Download DB2 Express-C, a no-charge version of DB2 Express Edition for the community that offers the same core data features as DB2 Express Edtion and provides a solid base to build and deploy applications.
- Download IBM product evaluation versions and get your hands on application development tools and middleware products from DB2, Lotus®, Rational®, Tivoli®, and WebSphere®.