- Categories:
System functions (System Information)
SYSTEM$SHOW_ BUDGETS_ IN_ ACCOUNT¶
Returns the budgets in the account for which you have access privileges.
- See also:
语法
返回
该函数在 JSON 对象中返回以下元素:
| Column Name | Data Type | Description |
|---|---|---|
| DATABASE | TEXT | Name of the database to which the budget instance belongs. |
| SCHEMA | TEXT | Name of the schema to which the budget instance belongs. |
| CREATED_ON | NUMBER | UTC timestamp when the budget instance was created. |
| ID | NUMBER | Internal/system identifier for the budget instance. |
| CURRENT_VERSION | TEXT | Budget class version used to create the budget instance. |
| COMMENT | TEXT | Comment for the budget instance. |
| NAME | TEXT | Name of the budget instance. |
使用说明
结果包括函数执行角色对其具有任何权限的预算。
示例
以下示例检索账户中的预算: