Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

t-sql question

$
0
0

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


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>