Kurser

Kursusadministration

Brug for hjælp?

  • Gregersensvej 8
  • 2630 Taastrup
Google MapsApple MapsRejseplanen
  • Forskerparken Fyn, Forskerparken 10F
  • 5230 Odense M
Google MapsApple MapsRejseplanen
  • Teknologiparken Kongsvang Allé 29
  • 8000 Aarhus C
Google MapsApple MapsRejseplanen
  • NordsøcentretPostboks 104
  • 9850Hirtshals
Google MapsApple MapsRejseplanen
  • Gammel Ålbovej 1
  • 6092Sønder Stenderup
Google MapsApple MapsRejseplanen

DB2 SQL Workshop for Experienced Users [CE131G]

Dette kursus lærer dig, hvordan du gør brug af avancerede SQL teknikker til at få adgang til DB2-databaser i forskellige miljøer. Kurset er velegnet til personer, der arbejder i alle DB2-miljøer, specielt til z/OS, Linux, UNIX og Windows.

Forudsætninger

Du forventes at have forudgående erfaring med kodning og udførelse af basic SQL statements. Den viden kan evt. være opnået ved at deltage på kurset SQL Workshop (CE120DK). Dette intermedia kursus er for erfarne SQL brugere, Application udviklere, database administratorer og andre, der har brug for at få et avanceret kendskab til SQL.

Indhold

Introduction

  • Identify the purpose of the clauses in the SELECT statement
  • Describe the key differences among the IBM DB2 platforms
  • Describe and use some of the OLAP features of DB2, such as GROUPING functions like CUBE and ROLLUP, and the RANK, DENSE_RANK and ROW_NUMBER functions

Create Objects

  • Code statements to: Create tables and views, Alter tables, Create indexes, Implement referential integrity (RI), and Define triggers and check constraints
  • Identify impacts and advantages of referential integrity, including impacts of delete rules
  • Identify considerations when using triggers and check constraints
  • Define and make use of INSTEAD OF triggers

Join

  • Retrieve data from more than one table via inner and outer joins
  • Use outer joins (LEFT, RIGHT, FULL)
  • Use ANTI JOINS
  • Join a table to itself
  • Use UNION and UNION ALL
  • Use EXCEPT and INTERCEPT

CASE, CAST, Summary Tables, and Materialized Query Tables

  • Identify when CASE expressions can be used
  • Code CASE expressions in SELECT list and in the WHERE clause
  • Identify when CAST specifications can be used
  • Identify the advantages of using Summary (Materialized Query) Tables and Temporary tables
  • Identify the advantages of using Materialized Query Tables (MQTs)
  • Identify when and how to use Temporary tables

Using Subqueries

  • Code subqueries using the ALL, ANY/SOME, and EXISTS keywords
  • Code correlated subqueries
  • Choose the proper type of subquery to use in each case

Scalar Functions

  • Extend your knowledge of scalar functions which: Manipulate arithmetic data, Manipulate date values, and Manipulate character data
  • Examples of scalar functions that are addressed in this course:
  • SUBSTR
  • POSSTR
  • COALESCE/VALUE
  • DECIMAL
  • ROUND
  • DIGITS
  • CHAR
  • DATE/TIME

Table Expressions and Recursive SQL

  • Identify reasons for using table expressions and recursive SQL
  • Use nested and common table expressions
  • Identify the difference between views and table expressions
  • Code recursive SQL
  • Control the depth of recursion when coding recursive SQL

UDTs/UDFs and Performance

  • Describe the concepts behind User-Defined Types, User-Defined Functions and Stored Procedures
  • Predict when queries will use indexes to get better performance
  • Identify concepts of predicate processing
  • State introductory concepts about index structure
  • State general best practices advice

Undervisere

Undervisningen varetages af en erfaren underviser fra Teknologisk Instituts netværk bestående af branchens dygtigste undervisere.

Har du faglige spørgsmål så kontakt
Andre kurser