Updating Alert Notification Methods
Scenarios
You can use a stored procedure to update the notification method of an alert notification.
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 update the notification method of an alert notification:
EXEC [msdb].[dbo].[rds_update_notification]
@alert_name = 'alert',
@operator_name ='operator',
@notification_method =notification ;
| Parameter | Description |
|---|---|
| 'alert' | The name of the alert associated with this notification. alert is sysname, with no default. |
| 'operator' | The operator who will be notified when the alert occurs. operator is sysname, with no default. |
| notification | The method by which the operator is notified. notification is tinyint with no default, and can be one or more of the following values:
|
After the command is executed, the system displays the following information.
Commands completed successfully.
Example

The command output is as follows.

Last Article: Updating Alert Settings
Next Article: Updating Information About Operators for Alerts and Jobs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.