IBM Books

SQL Reference


Appendix I. Interaction of Triggers and Constraints

This appendix describes the interaction of triggers with referential constraints and check constraints that may result from an update operation. Figure 18 and the associated description are representative of the processing that is performed for an SQL statement that updates data in the database.

Figure 18. Processing an SQL statement with associated triggers and constraints

Figure 00001133 not displayed.

Figure 18 shows the general order of processing for an SQL statement that updates a table. It assumes a situation where the table includes before triggers, referential constraints, check constraints and after triggers that cascade. The following is a description of the boxes and other items found in Figure 18.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]