A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.snowflake.com/sql-reference/sql/drop-snapshot-policy below:

Website Navigation


DROP SNAPSHOT POLICY | Snowflake Documentation

DROP SNAPSHOT POLICY

Preview Feature — Open

Available to all accounts.

Standard & Business Critical Feature

Deletes a snapshot policy.

See also:

CREATE SNAPSHOT POLICY, ALTER SNAPSHOT POLICY, SHOW SNAPSHOT POLICIES

Syntax
DROP SNAPSHOT POLICY <name>

Copy

Parameters
name

Specifies the identifier for the snapshot policy.

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

Snapshot policy

The role used to delete a snapshot policy must have the OWNERSHIP privilege on the policy.

For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.

For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

Usage notes

A snapshot policy can’t be deleted if it is attached to any snapshot set.

Examples

Delete the snapshot policy hourly_snapshot_policy:

DROP SNAPSHOT POLICY hourly_snapshot_policy;

Copy


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4