Skip to Content
Oracle Database 11g The Complete Reference
book

Oracle Database 11g The Complete Reference

by Kevin Loney
October 2008
Intermediate to advanced
1656 pages
35h 9m
English
McGraw Hill Computing
Content preview from Oracle Database 11g The Complete Reference

CHAPTER 34Triggers

A trigger defines an action the database should take when some database-related event occurs. Triggers may be used to supplement declarative referential integrity, to enforce complex business rules, or to audit changes to data. The code within a trigger, called the trigger body, is made up of PL/SQL blocks (see Chapter 32).

The execution of triggers is transparent to the user. Triggers are executed by the database when specific types of data manipulation commands are performed on specific tables. Such commands may include inserts, updates, and deletes. Updates of specific columns may also be used as triggering events. Triggering events may also include DDL commands and database events such as shutdowns and logins.

Because of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Database 11g SQL

Oracle Database 11g SQL

Jason Price
Oracle 11g

Oracle 11g

Lewis Cunningham

Publisher Resources

ISBN: 9780071598750