DROP BUDGET¶
Fully qualified name: SNOWFLAKE.CORE.BUDGET
Removes an instance of a custom budget.
- See also:
Syntax¶
DROP SNOWFLAKE.CORE.BUDGET [ IF EXISTS ] <name>
Parameters¶
nameSpecifies the identifier (i.e. name) of the budget.
If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
For more information, see Identifier requirements.
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
Privilege |
Object |
Notes |
|---|---|---|
OWNERSHIP |
Budget |
The role used to drop a budget must be granted this privilege on the budget. |
Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema.
For more information, see Budgets roles and privileges.
Usage notes¶
To refer to this class by its unqualified name, include the database and schema of the class in your search path.
Dropped budgets cannot be recovered; they must be recreated.
Examples¶
Drop budget my_budget in the current schema:
DROP SNOWFLAKE.CORE.BUDGET my_budget;