<budget_ name>!SET_ NOTIFICATION_ MUTE_ FLAG¶
Enable or disable notifications for a budget.
语法
实参
{ TRUE | FALSE }- TRUE,禁用通知。
- FALSE,启用通知。
默认:FALSE
返回
访问控制要求
-
为 自定义预算 调用此方法需要以下最低权限和角色:
- Any instance role for the budget instance.
- 对包含预算实例的数据库和架构的 USAGE 权限。
-
为 账户预算 调用此方法需要以下最低权限和角色:
Any application role for the account budget.
For more information, see Budgets roles and privileges.
使用说明
Calling this method does not return the object. Because of this, you can’t use method chaining to call another method on the return value of this method. Instead, call each method in a separate SQL statement.
示例
Disable notifications for budget my_budget in schema budget_db.budget_schema:
为账户预算启用电子邮件通知: