Chapter 16. Using Stored Routines, Triggers, and EventsSection 16.0. Introduction Recipe 16.1. Creating Compound-Statement Objects Recipe 16.2. Using a Stored Function to Encapsulate a Calculation Recipe 16.3. Using a Stored Procedure to Return Multiple Values Recipe 16.4. Using a Trigger to Define Dynamic Default Column Values Recipe 16.5. Simulating TIMESTAMP Properties for Other Date and Time Types Recipe 16.6. Using a Trigger to Log Changes to a Table Recipe 16.7. Using Events to Schedule Database Actions |