In this course, the Structured Query Language (SQL) is presented as the means to access DB2 data (and to create and secure DB2 components). Several guided, hands-on, practice sessions give each participant an opportunity to use SQL to access data. QMF and/or SPUFI are used to execute SQL statements. Referential Integrity concepts and implementation are covered.
DB2 (SQL) programming concepts are presented and discussed in detail. A "shell" program is modified to SELECT a single row, FETCH multiple rows, INSERT, UPDATE, and DELETE row(s), use Referential Integrity, and use column functions and grouping.
DB2 performance guidelines are discussed. The SQL statement EXPLAIN PLAN is used to help to evaluate the efficiency of SQL statements.
Version 6 - 100 new scalar functions, update Triggers, User Defined
Functions (UDF), User Defined Types (UDT)
Version 7 - UNION Everywhere, Scrollable cursors, Limited Fetch
Version 8 – additional SQL features
Also, a demonstration is provided of DB2 for WINDOWs to show "future" features for DB2 for OS/390. These features include Recursive SQL, the WITH SQL feature, GROUPING SETS, ROLLUP and Visual Explain.