This course offers students a lecture/lab intensive environment on DB2's Data Server Technology. The class covers the concepts of both performance tuning of SQL, Objects and Advanced SQL in a DB2 database and the use of SQL. The student will learn how to write simple to complex queries along with being able to modify database objects through SPUFI and QMF. Advanced technique such as ROLLUP, CUBE, set operators and creation of user-defined datatypes discussed.
LEARNING OBJECTIVES
The student upon completion of this course will be able to:
- Create, Retrieve and Manipulate database objects with performance objectives
- Evaluate DB2 SQL for better performance and execution
- Understand relational versus object database concepts
- Identify performance objectives in using joins, subqueries or set operators
- Utilize EXPLAIN utilities to examine SQL performance
- Use DB2 non-ansi SQL and evaluate performance issues
- Utilize QMF to produce reports and jobs in different environments
- Understand QMF 7.0 for windows interface to DB2 table concepts
- Create Objects in the DB2 Object/Relational Database
Audience
Application Developers
Database Administrators
Systems Analysts
Technical Support Professionals
Prerequisites
Working knowledge of computers
Hardware/Software Requirements
Hardware
Minimal processor speed of 266 mhz or higher
Memory requirements - 128 mb
Video: 16 color (800 x 600 resolution minimum)
50 mb of storage space per student
Course outline
I. INTRODUCTION TO DB2
|
|
Objectives
A. DB2 RDBMS Architecture.................................................
B. DB2 Components ...........................................................
C. DB2 Environment .............................................................
D. User Roles................................................................................
|
II BASIC SQL LANGUAGE |
|
Objectives
A. Understanding the SQL Format .............................................
B. Querying Row and Columns ..................................................
C. Using the Where clause .........................................................
D. Accessing tables with compound statements ........................
D. Utilizing Built-In Functions .....................................................
E. Searching for Null values .......................................................
|
III. DB2 FUNCTIONS AND NON ANSI SQL |
|
Objectives
A. Converting data to different data types.....................................
B. Using DB2 datatypes ........................……...............................
C. Date conversions and functions ..............................................
D. Executing Scalar Functions......................................................
|
IV. ADVANCED SQL LANGUAGE |
|
Objectives
A. Accessing tables through Joins ................................................
B. Understanding the use of Outer Joins ......................................
C. Comprehending Subqueries .....................................................
D. Selecting rows with the Union, Intersect and Except clauses ....
E. Modifying data through Inserts,Updates and Deletes ...............
|
V. QMF (Query Management Facility) |
|
Objectives
A. Introduction to QMF
B. Typical QMF Session
C. QMF Screens
D. Concepts of Reporting Formatting
E. Report Format
|