View Information About an Operator

This topic describes how to view information about a Microsoft SQL Server Agent operator in SQL Server 2017 by using SQL Server Management Studio or Transact-SQL.

In This Topic

Before You Begin



By default, members of the sysadmin fixed server role can execute this stored procedure. Other users must be granted one of the following SQL Server Agent fixed database roles in the msdb database:

  • SQLAgentUserRole

  • SQLAgentReaderRole

  • SQLAgentOperatorRole

For details about the permissions of these roles, see SQL Server Agent Fixed Database Roles.

Using SQL Server Management Studio

To view information about an operator

  1. In Object Explorer, click the plus sign to expand the server that contains the operator you want to view.

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

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

  4. Right-click the operator that you want to view and select Properties.

    For more information on the available options contained in the operator_nameProperties dialog box, see:

  5. When finished, click OK.

Using Transact-SQL

To view information about an operator

  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.

    -- reports information about operator Fran├žois Ajenstat   
    -- This example assumes that the operator exists.  
    USE msdb ;  
    EXEC dbo.sp_help_operator  
        @operator_name = N'Fran├žois Ajenstat' ;  

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