DROP SHARE

statementsupportedNative apps, listings & sharing

docs.snowflake.com ↗

Object: SHARE

Removes the specified share from the system and immediately revokes access for all consumers (i.e. accounts who have created a database from the share). 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

DROP SHARE <name>

Parameters

NameRequiredDescription
nameSpecifies the identifier for the share to drop. If the identifier contains spaces, special characters, or mixed-case characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.

Usage notes

See also

Referenced by