• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 5. SQL Server Tables and Databas... > An Introduction to Triggers

An Introduction to Triggers

A trigger is a T-SQL statement that SQL Server executes in response to data being edited, inserted, or deleted. Triggers provide you with another way to enforce business rules. They also allow you to perform tasks such as inserting data into an audit log when the user modifies important fields. Chapter 8, “Designing SQL Server Stored Procedures, User-Defined Functions, and Triggers,” covers triggers in detail.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint