October 2004
Intermediate to advanced
896 pages
17h 29m
English
The fourth type of named PL/SQL block is the trigger. Triggers share many of the same characteristics as subprograms (which we have examined in the previous two chapters), but they have significant differences both in how they are created and how they are called. In this chapter, we will examine how to create different types of triggers and discuss some possible applications.
Triggers are similar to procedures or functions in that they are named PL/SQL blocks with declarative, executable, and exception handling sections. Like packages and object types (which we will discuss in Chapters 14–16), triggers must be stored as stand-alone objects in the database and cannot be local to a block or package. ...
Read now
Unlock full access