Re-do SQL code.
Keep the Schedule up-to-date using triggers and explicit
recalculations.