DESCRIBE SHARE

statementsupportedNative apps, listings & sharing

docs.snowflake.com ↗

Object: SHARE

Describes the data objects that are included in a share. DESCRIBE can be abbreviated to DESC. Provider sharing is enabled by default for most, but not all accounts. If you encounter errors when attempting to share data with consumers, the feature may not be enabled for your account. To inquire about enabling it, please contact Snowflake Support.

Syntax

Providers (outbound share)

DESC[RIBE] SHARE <name>

Consumers (inbound share)

DESC[RIBE] SHARE <provider_account>.<share_name>

Parameters

NameRequiredDescription
nameSpecifies the identifier for the outbound share 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.
provider_account.share_nameSpecifies the fully-qualified identifier for the inbound share to describe.

Usage notes

Output

- The output of the command is different depending on whether you are a provider or consumer: For providers, the names of the objects in the share are prefixed with the database name. - For consumers, the names of the objects in the share are prefixed with a database name only if a database has been created from the share. If a database has not been created from the share, the objects are prefixed with <DB>. - The kind column in the output displays the type of the objects in the share.

See also

Referenced by