I was investigating a mysterious Intent Shared lock in a deadlock report. Especially confusing, since the database was using an Optimistic Concurrency.
Sometimes the quickest help you can get is to help yourself. I’ve compiled a list of common problems when I’m helping out in the SQL community.
This is my go-to technique to capture errors which I can debug later.