Hello,
Is there a way to get a blocking session SQL Statements for blocking and blocked sessions for SQL Server 2012 in the alert email? I know there is no these info in standard total blocking time alert.
Thanks for your help!
Here's one you could likely implement and modify: Custom Alert - Blocked Sessions - From Instance
It concatenates the select clause. Be aware though that I think our message has a 100 or 200 character limit, so you will likely have to trim it down significantly.
Thanks. we also need blocked session sql statements.
Thanks for your help
we also need to know blocker session sql statements.