Updated on 2023-07-06 GMT+08:00

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.

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.