Share via


View Information About an Operator

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

In This Topic

  • Before you begin:

    Limitations and Restrictions

    Security

  • To view information about an operator, using:

    SQL Server Management Studio

    Transact-SQL

Before You Begin

Security

Permissions

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.

Arrow icon used with Back to Top link [Top]

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_name Properties dialog box, see:

  5. When finished, click OK.

Arrow icon used with Back to Top link [Top]

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 ;
    GO
    
    EXEC dbo.sp_help_operator
        @operator_name = N'François Ajenstat' ;
    GO
    

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

Arrow icon used with Back to Top link [Top]