SQL Triggers
A fact which seems buried to me is that an after trigger actually does still have access to both the inserted and deleted virtual tables.
So if you have been struggling to re-implement a simple insert, update, or delete because you feel you must use an instead of trigger in order to access the values in inserted or deleted, relax. You’re doing it wrong.
I can beef this up with some code, and I suppose I will, but the code is not the issue–it’s the concept, and once I learned to rely on the inserted and deleted tables persisting until my trigger itself goes out of scope, my life got much simpler.