Reference organizational listings in queries

Note

Organizational listings can be queried without mounting.

To reference an organizational listing’s datasets in a SQL query, use the Uniform Listing Locator (ULL). The ULL serves as a unique identifier that points to a listing in the Internal Marketplace, making it easy to query its datasets directly.

The ULL appears to be a fully qualified name that includes the database, schema, and object names (database_name.schema_name.table_name), but uses dollar signs ($) instead of periods (.). However, this is not the case.

  1. Sign in to Snowsight.

  2. Select Data Products » Marketplace in the left-side navigation menu.

  3. Select the Internal Marketplace tab.

  4. Browse or search for a data product.

  5. Select a listing and select Copy ULL.

  6. Select Projects.

  7. Select one of the project tools, for example Worksheets or Notebooks.

  8. Write a SQL query, using the ULL in place of the database name.