Application Development Guide


Coding a DB2 Application

  • Prerequisites for Programming
  • DB2 Application Coding Overview
  • Declaring and Initializing Variables
  • Declaring Variables that Interact with the Database Manager
  • Handling Errors and Warnings
  • Using Additional Nonexecutable Statements
  • Connecting to the Database Server
  • Coding Transactions
  • Beginning a Transaction
  • Ending a Transaction
  • Ending the Program
  • Implicitly Ending a Transaction
  • On Most Supported Operating Systems
  • On Windows 32-bit Operating Systems
  • When Using the DB2 Context APIs
  • Application Pseudocode Framework
  • Designing an Application For DB2
  • Access to Data
  • Embedded SQL
  • DB2 Call Level Interface (DB2 CLI) and Open Database Connectivity (ODBC)
  • JDBC
  • Microsoft Specifications
  • Perl DBI
  • Query Products
  • Data Value Control
  • Data Types
  • Unique Constraints
  • Table Check Constraints
  • Referential Integrity Constraints
  • Views with Check Option
  • Application Logic and Program Variable Types
  • Data Relationship Control
  • Referential Integrity Constraints
  • Triggers
  • Application Logic
  • Application Logic at the Server
  • Stored Procedures
  • User-Defined Functions
  • Triggers
  • The IBM DB2 Universal Database Project Add-In for Microsoft Visual C++
  • Activating the IBM DB2 Universal Database Project Add-In for Microsoft Visual C++
  • Activating the IBM DB2 Universal Database Tools Add-In for Microsoft Visual C++
  • Supported SQL Statements
  • Authorization Considerations
  • Dynamic SQL
  • Static SQL
  • Using APIs
  • Example
  • Database Manager APIs Used in Embedded SQL or DB2 CLI Programs
  • Setting Up the Testing Environment
  • Creating a Test Database
  • Creating Test Tables
  • Generating Test Data
  • Running, Testing and Debugging Your Programs
  • Prototyping Your SQL Statements

  • [ Top of Page | Previous Page | Next Page ]