SNAPSHOT_SETS view — Deprecated

This Information Schema view provides information on snapshot sets.

Columns

Column nameData typeDescription
SNAPSHOT_SET_NAMEVARCHARName of the snapshot set.
SNAPSHOT_SET_SCHEMAVARCHARSchema that the snapshot set belongs to.
SNAPSHOT_SET_CATALOGVARCHARDatabase that the snapshot set belongs to.
OBJECT_KINDVARCHARType of object that the snapshot set is snapshotting.
OBJECT_NAMEVARCHARName of object that the snapshot set is snapshotting.
OBJECT_SCHEMAVARCHARName of schema that contains the object being snapshotted by this snapshot set.
OBJECT_CATALOGVARCHARName of database that contains the object being snapshotted by this snapshot set.
SNAPSHOT_POLICY_NAMEVARCHARName of snapshot policy attached to this snapshot set.
SNAPSHOT_POLICY_SCHEMAVARCHARName of the schema that contains the snapshot policy.
SNAPSHOT_POLICY_CATALOGVARCHARName of the database that contains the snapshot policy.
OWNERVARCHARName of the role that owns the snapshot set.
OWNER_ROLE_TYPEVARCHARType of role that owns the snapshot set. Account role or Database role.
CREATEDTIMESTAMPDate and time when the snapshot set was created.
LAST_ALTEREDTIMESTAMP

Date and time the object was last altered by a DML, DDL, or background metadata operation. See Usage Notes_.

COMMENTVARCHARComment for the snapshot set.

Usage notes

  • Latency for the view may be up to 180 minutes (3 hours).
  • The LAST_ALTERED column is updated when the following operations are performed on an object:

    • DDL operations.
    • DML operations (for tables only). This column is updated even when no rows are affected by the DML statement.
    • Background maintenance operations on metadata performed by Snowflake.