January 2020
Beginner
896 pages
23h 51m
English
CHAPTER |
|
14 |
Triggers |
In This Chapter
• Application Areas for DML Triggers
• DDL Triggers and Their Application Areas
This chapter is dedicated to a mechanism called a trigger. The beginning of the chapter describes Transact-SQL statements for creating, deleting, and modifying triggers. After that, examples of different application areas for DML triggers are given. Each example is created using one of three statements, INSERT, UPDATE, or DELETE. The second part of the chapter covers DDL triggers, which are based on DDL statements such as CREATE TABLE. Again, examples of different application areas related to DDL triggers are given.
A trigger is a mechanism that is invoked when a particular ...
Read now
Unlock full access