Removing Operators
Scenarios
You can use a stored procedure to remove an operator.
Prerequisites
An RDS Microsoft SQL Server DB instance has been connected. Connect to the DB instance through the Microsoft SQL Server client. For details, see Connecting to a DB Instance Through a Public Network.
Procedure
Run the following commands to remove an operator:
EXEC [msdb].[dbo].[rds_delete_operator]
@name='name'
@reassign_to_operator = 'reassign_operator';
| Parameter | Description |
|---|---|
| 'name' | The name of the operator to delete. name is sysname, with no default. |
| 'reassign_operator' | The name of an operator to whom the specified operator's alerts can be reassigned. reassign_operator is sysname, with a default of NULL. |
After the command is executed, the system displays the following information.
Commands completed successfully.
Example

The command output is as follows.

Last Article: Removing SQL Server Agent Notification Definitions for Specific Alerts and Operators
Next Article: Shrinking Databases
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.