Manage listings with SQL as a provider - examples¶
The following are examples of the common tasks that providers can complete programmatically with SQL commands:
Share data with another Snowflake account¶
Create a private listing for MySHARE and publish immediately.
| Description | Notes |
|---|---|
| Create a listing targeted to another account. | Submit the listing for immediate approval ( Publish on approval ( |
Share private listing and replicate¶
Create a private listing which is automatically replicated to other regions.
| Description | Notes |
|---|---|
| Create a replicated private listing. | Replicate the listing and refresh every 10 minutes. Submit the listing for immediate approval ( Publish on approval ( |
For more information on cross-cloud auto fulfillment see Auto-fulfillment for listings.
Share publicly in the Marketplace¶
Create a public listing in the Snowflake marketplace.
| Description | Notes |
|---|---|
Create a replicated public listing in Marketplace. Replicate the listing into multiple regions. | Replicate the listing and refresh every 10 minutes. Submit the listing for immediate approval ( Publish on approval ( |
Create a draft private listing ready for sharing with another account¶
Create a draft listing which is automatically replicated to other regions.
This example is identical to Share data with another Snowflake account but creates a draft listing. For a complete description of all combinations of the REVIEW and PUBLISH properties, and their meanings, see CREATE LISTING.
| Description | Notes |
|---|---|
| Create a replicated private listing. | Replicate the listing and refresh every 10 minutes. Do not submit the listing for approval ( Do not publish ( |