<budget_ name>!GET_ SPENDING_ LIMIT¶
View the spending limit for a budget.
- See also:
语法
返回
- 设置为预算支出限额的 Credit。
-1if the spending limit is not set.
访问控制要求
-
查看 自定义预算 的结果需要以下最低权限和角色:
- 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.
示例
View the spending limit for budget my_budget in schema budget_db.budget_schema:
查看账户预算的支出限额: