I am trying to create a t-sql script when ever blocking happens with the following condition in a SQL db I want to get alert:
If there is a session blocking another session for more than 5 minutes then I want to know the session details as to who is blocking and which session is getting blocked.
Thanks.
sqldev