I want to see blocking that is not only happening now, but has happened in the past few hours. Additionally, Id like to capture the statement that was causing it.
Can I use a combination of Sysprocess and DBCC Inputbuffer to get this? Im building a "logging" DB to capture various metrics about several databases and systems.