IBM Books

What's New


Application Development Enhancements

DB2 Version 5 includes the following application development enhancements:


Open Database Connectivity (ODBC) 3.0 Support

The DB2 Call Level Interface (DB2 CLI) has been updated to the latest Microsoft ODBC 3.0 specifications. This enables ODBC 3.0 applications to run with DB2. Scrollable Cursor support has also been added.

See the CLI Guide and Reference for details.


Additional Support in the DB2 Precompiler and APIs

The following support has been added:

See the API Reference for a full description of DB2 APIs. See the Embedded SQL Programming Guide for a description of the precompiler options.


User Defined Function (UDF) Enhancements

Two enhancements have been made for table functions and scalar functions:

See the Embedded SQL Programming Guide and the SQL Reference for details.


Precompile and Bind Enhancements

The precompile and bind enhancements are categorized as follows:

Long Host Variable Names
Long host variable names that correspond to the variable name length of the programming language are now supported. Host variable names can now be up to 255 characters in length for all DB2-supported languages.

SQL Statement Flagging
The grammar and all syntax rules (that do not require catalog access) of SQL statements are now checked and those not compliant with the SQL92 Entry Level standard are flagged.

Support for Java Programming

DB2 enables you to develop applications and applets that access and manipulate DB2 databases. DB2 makes this possible by providing support for the Sun Microsystem's Java Database Connectivity (JDBC) API. DB2 provides this support through a DB2 JDBC driver that comes with DB2. The JDBC API provides a standard way to access databases from Java code. Your Java code passes SQL statements as function arguments to the DB2 JDBC driver. The driver handles the JDBC API calls from your Java code.

You can also use the Java programming language to develop user-defined functions and stored procedures which run on the server.

See the Embedded SQL Programming Guide for details.


[ Top of Page | Previous Page | Next Page | Table of Contents ]

[ DB2 List of Books | Search the DB2 Books ]