8. Activation Triggers After transaction commits During transaction Background connection Client connection EXECUTE AS context Login context When messages available On INSERT/DELETE/UPDATE Batch calls for set processing Each call is standalone Runs in a loop New instance every 5 sec Up to MAX_QUEUE_READERS Runs in each session that invokes it
9. Activation SQL Agent Jobs Internal to SQL Engine External process Agent Runs on demand Runs on timer Consistent backup/restore Backup split with msdb Mirroring failover No failover Available in every edition Not in Express editions For for many small jobs Better fit for few large jobs