DB2 Concepts & Facilities Training

Course #:WA1889

DB2 Concepts & Facilities Training

First, the concepts of DB2 are presented and discussed. The major features of the Structured Query Language (SQL) are presented as the means to access DB2 data (and to create and secure DB2 components).  Several of the “special features” of SQL are presented. Optionally, guided, hands-on, practice sessions give each attendee an opportunity to use SQL to access data.  QMF and/or SPUFI are used to execute SQL statements. DB2 database design and Referential Integrity (RI) are discussed.

An overview of DB2 (SQL) programming concepts are presented and discussed. DB2 performance guidelines are discussed.  Optionally, the use of the SQL statement EXPLAIN PLAN is used to help to evaluate the efficiency of SQL statements.

The following “Release Dependent” features are also covered –

  • Version 8 – Additional SQL features
  • Version 9 – Additional SQL features, including pureXML
  • Version 10 – Preview

Optionally, 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.

  • Introduction to DB2
  • DB2 - Concepts, and Terminology
  • Structured Query Language (SQL)
  • SQL 1 - The SELECT Statement
  • Database 2 Interactive / SPUFI
  • SQL 2 - Special Features
  • SQL 4 - Join, Sub-select, UNION
  • SQL 5 - Data Definition Language
  • SQL 7 - Data Control Language
What you will learn

After completing this course, the student should be able to:

  • Explain DB2 concepts, terminology and components
  • Discuss the Primary Key (PK) and Foreign Key (FK) concept
  • SELECT rows of data from DB2 tables
  • Use QMF and/or SPUFI to "run" SQL statements
  • Use the WHERE clause to SELECT specific rows of a DB2 table
  • Build queries using the ORDER BY, GROUP BY, HAVING clauses
  • Join tables together to get information from each
  • create Tables, Indexes, Views
  • "Change" tables using the INSERT, UPDATE, DELETE statements
  • Discuss the major considerations for DB2 Application Performance Tuning
  • Identify “good” predicates & “bad” predicates

Experienced Data Processing personnel who need an overview of the Concepts and Terminology of DB2.


At least six months of Data Processing experience is recommended.  No previous database experience is needed.

  Two Days.

Outline of DB2 Concepts & Facilities Training

Days 1

  • DB2 concepts, terminology and components
  • Primary Key (PK), Unique Key (UK) and Foreign Key (FK) concept
  • SELECT statement can retrieve rows of data from DB2 tables
  • WHERE clause can SELECT specific rows of a DB2 table
  • CASE expressions and SCALAR / COLUMN FUNCTIONS
  • Access multiple tables - JoiN, UNION, sub-queries, and nested tables
  • Tables, Indexes, Views
  • Changed using the INSERT, UPDATE, and DELETE

Days 2

  • Security provided by the GRANT and REVOKE
  • Design considerations of Referential Integrity
  • Program Preparation process
  • “quirks” of DB2 Application programming
  • Importance of the SQLcode and how to test for it
  • DB2 performance considerations
  • EXPLAIN PLAN SQL statement and analyze results
  • Version 8 Overview
  • Version 9 Overview
  • Version 10 - Preview
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.