Chapter 8. Using DB2 Triggers
Triggers can be created on DB2 tables to extend the functionality of DB2 databases. By creating triggers, you can create active databases that take action based on naturally occurring database activities. Most of the other major relational database management systems have provided trigger support for a number of years. DB2 was late to the game with triggers (introducing them in V6), but IBM’s offering is a very rich, functional implementation of triggers.
If you have not had the opportunity to use triggers, their power may elude you at first. However, once you have used them, living without triggers can be unthinkable.
What Is a Trigger?
Simply stated, a ...
Get DB2 Developer’s Guide: A Solutions-Oriented Approach to Learning the Foundation and Capabilities of DB2 for z/OS, Sixth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.