Delete an Alert (SQL Server Management Studio)
This topic describes how to delete Microsoft SQL Server Agent alerts in SQL Server 2012 by using SQL Server Management Studio or Transact-SQL.
In This Topic
-
Before you begin:
-
To delete an alert, using:
To delete an alert
-
In Object Explorer, click the plus sign to expand the server that contains the SQL Server Agent alert that you want to delete.
-
Click the plus sign to expand SQL Server Agent.
-
Click the plus sign to expand the Alerts folder.
-
Right-click the alert you want to delete and select Delete.
-
In the Delete Object dialog box, confirm that the correct alert is selected and click OK.
To delete an alert
-
In Object Explorer, connect to an instance of Database Engine.
-
On the Standard bar, click New Query.
-
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).
