I have SQL Server Agent job created, in which Email nofication is checked. I want to have a script where I can uncheck the email option.
Can any one please let me know how can i do this... pls help its very urgent!!!
I have SQL Server Agent job created, in which Email nofication is checked. I want to have a script where I can uncheck the email option.
Can any one please let me know how can i do this... pls help its very urgent!!!
If you have management studio installed and you have access to that particular sql server, and also if you have relevant permissions then you should be able to edit the job straight by right click --> Properties --> Notifications and uncheck.
and through script means, you can do it using the system stored procedure sp_update_job with the help of "notify_level_email" option. Check the below for syntax.
No one has followed this question yet.