Opleiding: DB2 SQL PL, triggers, stored procedures & user-defined functions (EN/NL/FR)

In this 1 day ABIS course the advantages and disadvantages of stored procedures, triggers and user defined functions are explained. Participants will get a technical insight in the set-up and the use of stored procedures, triggers and user-defined functions. Both external stored procedures and stored procedures set-up with SQL PL are discussed. The SQL PL language is treated in sufficient depth such that participants will be able to write even fairly complex procedures. 

Participants should be familiar with SQL and with Db2 for z/OS or Db2 for Linux, Unix and Windows. Intended for developers and technical analysts; and for DBAs and DB designers.

Remark: Course description in English; Dutch and French versions are available on the ABIS website. Courses are planned in Dutch, English, and French. Consult the ABIS website for alternate course formats.

Description:

In this course the advantages and disadvantages of stored procedures, triggers and user defined functions are explained. 

Participants will also get a technical insight in the set-up and the use of stored procedures, triggers and user-defined functions. Both external stored procedures and stored procedures set-up with SQL PL (the 'SQL procedural language') are discussed. The SQL PL language is treated in sufficient depth such that participants will be able to write even fairly complex procedures. 

Main topics:

  • SQL PL:
    • The procedural language of Db2: a short introduction
    • How to use variables, create cursors, throw exceptions, verify conditions, ...
  • Triggers:
    • What are triggers?
    • How and when do we use triggers?
    • Writing triggers
    • Examples and exercises
  • Stored procedures:
    • What are stored procedures: advantages and disadvantages?
    • When do we use stored procedures?
    • External stored procedures (written in COBOL, PL/I, C, Java, ...)
    • "Native" stored procedures: written in SQL PL
    • Examples and exercises
  • User defined functions:
    • User defined functions: introduction
    • How do we implement user defined functions?
    • When and how to use UDFs?
    • Scalar functions and table functions
    • Native functions versus external ones (written in COBOL, PL/I, C, Java, ...)
    • Examples and exercises

Intended for/Audience: Application developers and technical analysts who have to develop stored procedures, triggers or user defined functions.  DBAs and data base designers who want to know the new possibilities in Db2 and learn how triggers and stored procedures can help implement the logical design, the data integrity, and the access control of a relational database.

Background/Prerequisites: Participants should be familiar with SQL and with Db2 for z/OS or Db2 for Linux, Unix and Windows . Knowledge of an application programming language (COBOL, PL/I, C, Java, SQL PL, ...) is not required.

Training Method/Didactics: Classroom instruction with examples and exercises.

Duration: 1 day.

Meer...
€655
Vrij van BTW
Aangeboden door
ABIS
Onderwerp
IBM Db2 SQL
Database ontwerp / design
Niveau
Looptijd
1 dag
Taal
en
Type product
cursus
Lesvorm
Klassikaal
Aantal deelnemers
Max: 12
Tijdstip
Overdag
Tijden en locaties
Leuven
wo 19 nov. 2025
Virtual
wo 19 nov. 2025
Keurmerken aanbieder
CRKBO en BTW-vrijstelling