Help Center > > User Guide> Working with RDS for SQL Server> Usage of Stored Procedures> Removing Operators

Removing Operators

Updated at: May 26, 2020 GMT+08:00

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';

Table 1 Parameter description

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.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel