DESCRIBE SNAPSHOT POLICY

statementsupportedReplication, failover & backupBusiness Critical+

docs.snowflake.com ↗

Describes a specific snapshot policy. DESCRIBE can be abbreviated to DESC. 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.

Syntax

DESC[RIBE] SNAPSHOT POLICY <name>

Parameters

NameRequiredDescription
nameSpecifies the identifier for the snapshot policy to describe. 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.

Usage notes

Output

Column | Description created_on | Timestamp snapshot policy was created. name | Name of snapshot policy. database_name | Name of database that contains the snapshot policy. schema_name | Name of schema that contains the snapshot policy. owner | Name of the role with the OWNERSHIP privilege on the snapshot policy. comment | Comment for snapshot policy. schedule | Schedule for snapshot creation. expire_after_days | Number of days after snapshot creation when snapshot expires. has_retention_lock | Indicates whether the policy includes a retention lock. true if policy has retention lock; false otherwise. For more information, see Retention lock. owner | Name of the role with the OWNERSHIP privilege on the snapshot set. owner_role_type | Type of role with the OWNERSHIP privilege on the snapshot policy.

See also