DESCRIBE SNAPSHOT SET¶
Describes a specific snapshot set.
DESCRIBE can be abbreviated to DESC.
Syntax¶
DESC[RIBE] SNAPSHOT SET <name>
Parameters¶
name
Specifies the identifier for the snapshot set 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¶
To post-process the output of this command, you can use the pipe operator (
->>
) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query.The output column names for this command are generated in lowercase. If you consume a result set from this command with the pipe operator or the RESULT_SCAN function, use double-quoted identifiers for the column names in the query to ensure that they match the column names in the output that was scanned. For example, if the name of an output column is
type
, then specify"type"
for the identifier.
Output¶
Column |
Description |
---|---|
|
Timestamp that the snapshot set was created. |
|
Name of the snapshot set. |
|
Name of the database that contains the snapshot set. |
|
Name of the schema that contains the snapshot set. |
|
Type of the object that the snapshot set is snapshotting. |
|
Name of the object that the snapshot set is snapshotting. |
|
Name of the database that contains the object being snapshotted by this snapshot set. |
|
Name of the schema that contains the object being snapshotted by this snapshot set. |
|
Name of the snapshot policy attached to this snapshot set. |
|
Name of the database that contains the snapshot policy. |
|
Name of the schema that contains the snapshot policy. |
|
Comment for snapshot set. |
|
Name of the role with the OWNERSHIP privilege on the snapshot set. |
|
Type of role with the OWNERSHIP privilege on the snapshot set. |
Examples¶
Describe a snapshot set:
DESC SNAPSHOT SET my_snapshot_set;