Chapter 14. Triggers

Now that you're quite proficient in using SQL Server Express, you ought to know about one last aspect of it. Triggers are that one last step, and this chapter is the missing link in the foundation of your knowledge and skill set.

At times a modification to data somewhere in your database requires action on data elsewhere, either in the same database, in another database, or elsewhere within SSE; a trigger is the object that will do this for you. When a modification to your data occurs, SSE will fire a trigger, which is a specialized stored procedure that will run, performing the actions that you desire. Triggers are similar to constraints but more powerful, and they require more system overhead, which can affect performance. ...

Get Beginning SQL Server 2008 Express for Developers: From Novice to Professional now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.