Skip to main content

ALTER SHARE

Adds / removes one or more organizations by their tenant IDs to / from a share.

Syntax

ALTER SHARE [IF EXISTS] <share_name> {ADD | REMOVE} TENANTS = <tenant_id> [, <tenant_id>, ...]

Examples

The following example adds organizations by the tenant IDs x and y to the share myshare:

ALTER SHARE myshare ADD TENANTS = x, y;
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today