Updates the notification method of an alert notification.
sp_updatenotification alert_name, operator_name, notification_method
where
This stored procedure must be run from the msdb database.
You can update a notification for an operator who does not have the necessary address information to be notified using the specified notification_method. If a failure occurs when sending an e-mail message or pager notification, the failure is reported in the Windows NT application event log.
SQL Enterprise Manager provides an easy, graphical way to manage the entire alerting system. Using SQL Enterprise Manager is the recommended way to configure your alert infrastructure.
This example sets the notification status to EMAIL.
sp_updatenotification 'Test Alert', 'John Doe', EMAIL
Only the system administrator can use this procedure.
sysalerts, sysnotifications, sysoperators
sp_addnotification | sp_helpnotification |
sp_dropnotification |