Reputation: 1163
I am using SQL Server 2008 R2
Is there a way to create some sort of an alert (such as an email or a sound) when a long query has finished running?
Thanks
Upvotes: 2
Views: 1637
Reputation:
You can create a SQL Server Agent job out of it, and then in the job properties you can set to notify upon completion/success/failure of said job. The notification can be an email.
You can do this through SSMS's GUI or through T-SQL.
Upvotes: 3