更新警报通知 本节介绍了更新警报通知的相关内容。 操作场景 使用存储过程更新警报通知的通知方法。 前提条件 成功连接RDS for SQL Server实例。通过SQL Server客户端连接目标实例。 操作步骤 执行以下命令,更新警报通知。 EXEC [msdb].[dbo].[rdsupdatenotification] @alertname 'alert', @operatorname 'operator', @notificationmethod notification; 表 参数说明 参数 说明 'alert' 与该通知关联的警报的名称。警报是sysname,无默认值。 'operator' 将出现警报时通知的操作员。运算符是sysname,无默认值。 notification 依据通知操作员的方法。通知是tinyint,无默认值,并且可以是一个或多个值。 值为1,电子邮件。 值为2,寻呼程序。 值为4,net send。 值为7,所有方法。 执行成功后,系统将会如下提示: plaintext Commands completed successfully. 示例 回显如下所示: