Preview Feature — Open
Available to all accounts.
Standard & Business Critical Feature
Snapshots are available for all Snowflake editions.
Snapshots with retention lock and snapshots with legal holds are available for Business Critical Edition (or higher). To inquire about upgrading, please contact Snowflake Support.
Deletes a snapshot policy.
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.
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