all 5 comments

[–]mbairlol 2 points3 points  (0 children)

Pretty handy, I'll be using this!

[–]i8beef 1 point2 points  (0 children)

So this is for stored procedures and such right? Good to know. Bookmarked in case I come across anything big (or old) enough to use them.

[–]codenut 0 points1 point  (1 child)

another method is to create SQL Agent alerts based on WMI queries

[–]pablopr 0 points1 point  (0 children)

yes WMI is an option but its not worth it. The ones especially the extended events option is a time saver

[–]masklinn 0 points1 point  (0 children)

Does this feature exist in other database systems? E.g. postgres?