<budget_name>!GET_NOTIFICATION_INTEGRATION_NAME

Returns the name of the email notification integration configured for a budget.

To get the names of the notification integrations for cloud provider queues and webhooks, call <budget_name>!GET_NOTIFICATION_INTEGRATIONS instead.

See also:

<budget_name>!GET_NOTIFICATION_EMAIL, <budget_name>!GET_NOTIFICATION_INTEGRATIONS, <budget_name>!GET_NOTIFICATION_MUTE_FLAG, <budget_name>!SET_EMAIL_NOTIFICATIONS, <budget_name>!SET_NOTIFICATION_MUTE_FLAG

Syntax

<budget_name>!GET_NOTIFICATION_INTEGRATION_NAME()
Copy

Returns

  • The name of the notification integration.

  • An empty string if the notification email address is not set.

Access control requirements

  • The following minimum privileges and roles are required to view results for custom budgets:

    • Any instance role for the budget instance.

    • USAGE privilege on the database and schema that contains the budget instance.

  • The following role is required to view results for the account budget:

For more information, see Budgets roles and privileges.

Usage notes

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.

Examples

View the name of the notification integration used by my_budget in schema budget_db.budget_schema:

CALL budget_db.budget_schema.my_budget!GET_NOTIFICATION_INTEGRATION_NAME();
Copy

View the name of the notification integration used by the account budget:

CALL snowflake.local.account_root_budget!GET_NOTIFICATION_INTEGRATION_NAME();
Copy
Language: English