Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Delete an Operator

This topic describes how to remove an operator so they no longer receive Microsoft SQL Server Agent alert notifications in SQL Server 2012 by using SQL Server Management Studio or Transact-SQL.

In This Topic

Limitations and Restrictions

When an operator is removed, all the notifications associated with the operator are also removed.

Security

Permissions

Members of the sysadmin fixed server role can delete operators.

Arrow icon used with Back to Top link [Top]

To delete an operator

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

  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 delete and select Delete.

  5. In the Delete Object dialog box, make sure that the correct operator is selected, and then click OK. If you want another operator to receive the alerts and jobs sent to the deleted operator, check Reassign to and select an operator in the list.

Arrow icon used with Back to Top link [Top]

To delete 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.

    -- deletes operator 'Test Operator' and reassigns all alerts and jobs sent to that operator to 'François Ajenstat'
    USE msdb ;
    GO
    
    EXEC sp_delete_operator @name = 'Test Operator',
        @reassign_to_operator = 'François Ajenstat';
    GO
    

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

Arrow icon used with Back to Top link [Top]

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.