Removes all notifications sent to a particular operator in response to an alert.
sp_delete_notification [@alert_name =] 'alert',
[@operator_name =] 'operator'
0 (success) or 1 (failure)
None
Removing a notification removes only the notification; the alert and the operator are left intact.
Only members of the sysadmin fixed server role can execute sp_delete_notification.
This example removes all notifications sent to operator stevenb when alert 'Error 1101' occurs.
USE msdb
EXEC sp_delete_notification 'Error 11001', 'stevenb'
sp_add_alert | sp_help_notification |
sp_add_notification | sp_help_operator |
sp_add_operator | sp_update_notification |
sp_delete_alert | System Stored Procedures |
sp_help_alert |