Removes an alert.
sp_delete_alert [@name =] 'name'
0 (success) or 1 (failure)
None
Removing an alert also removes any notifications associated with the alert.
sp_delete_alert must be executed in the msdb database.
Only members of the sysadmin fixed server role or the db_owner fixed database role can execute sp_delete_alert.
This example removes an alert named Test Alert.
sp_delete 'Test Alert'
sp_add_alert | System Stored Procedures |
sp_help_alert |