SQL Alert when stored procedure executes for too long

前端 未结 6 1462
旧时难觅i
旧时难觅i 2021-01-13 07:32

I would like to set up a SQL Server 2008 Alert to notify me when any procedure executes for 1 second or longer (just an example).

Any ideas?

EDIT:

Ok

6条回答
  •  终归单人心
    2021-01-13 07:50

    no there are no notifications for this. you'll have to set up a trace and poll it every now and then.

提交回复
热议问题