Export (0) Print
Expand All

Delete an Alert

This topic describes how to delete Microsoft SQL Server Agent alerts in SQL Server 2014 by using SQL Server Management Studio or Transact-SQL.

In This Topic

Limitations and Restrictions

Removing an alert also removes any notifications associated with the alert.

Security

Permissions

By default, only members of the sysadmin fixed server role can delete alerts.

Arrow icon used with Back to Top link [Top]

To delete an alert

  1. In Object Explorer, click the plus sign to expand the server that contains the SQL Server Agent alert that you want to delete.

  2. Click the plus sign to expand SQL Server Agent.

  3. Click the plus sign to expand the Alerts folder.

  4. Right-click the alert you want to delete and select Delete.

  5. In the Delete Object dialog box, confirm that the correct alert is selected and click OK.

Arrow icon used with Back to Top link [Top]

To delete an alert

  1. In Object Explorer, connect to an instance of Database Engine.

  2. On the Standard bar, click New Query.

  3. Copy and paste the following example into the query window and click Execute.

    -- deletes the SQL Server Agent alert called 'Test Alert.'
    USE msdb ;
    GO
    
    EXEC dbo.sp_delete_alert
       @name = N'Test Alert' ;
    GO
    

For more information, see ssp_delete_alert (Transact-SQL).

Arrow icon used with Back to Top link [Top]

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft