View Information About an Alert
This topic describes how to view information about Microsoft SQL Server Agent alerts in SQL Server 2016 by using SQL Server Management Studio or Transact-SQL.
In This Topic
Before you begin:
To view information about an alert, using:
By default, members of the sysadmin fixed server role can view information about an alert. Other users must be granted the SQLAgentOperatorRole fixed database role in the msdb database.
In Object Explorer, click the plus sign to expand the server where you want to view information about an alert.
Click the plus sign to expand SQL Server Agent.
Click the plus sign to expand the Alerts folder.
Right-click the alert that has the information you want to view and select Properties.
For more information on the available options contained in the alert_namealert properties dialog box, see:
When finished, click OK.
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.
-- reports information about the Demo: Sev. 25 Errors alert -- This example assumes that the 'Demo: Sev. 25 Errors' alert exists. USE msdb ; GO EXEC sp_help_alert @alert_name = 'Demo: Sev. 25 Errors' GO
For more information, see sp_help_alert (Transact-SQL).