DROP DATASHARE - Amazon Redshift

DROP DATASHARE

Drops a datashare. This command isn't reversible.

Only a superuser or the datashare owner can drop a datashare.

Syntax

DROP DATASHARE datashare_name;

Parameters

datashare_name

The name of the datashare to be dropped.

Examples

The following example drops a datashare named SalesShare.

DROP DATASHARE SalesShare;