SHOW EXTERNAL LOCATIONS

Applies to: check marked yes Databricks SQL check marked yes Databricks Runtime 10.3 and above check marked yes Unity Catalog only

Lists the external locations that match an optionally supplied regular expression pattern. If no pattern is supplied then the command lists all the external locations in the metastore.

Syntax

SHOW EXTERNAL LOCATIONS

Parameters

This statement does not take parameters.

Examples

> SHOW EXTERNAL LOCATIONS;
  name         url                              comment
  ------------ -------------------------------- ----------
  best_loco    s3://us-east-1-dev/best_location Nice place
  three_tatami s3://us-west-1-dev/tatami_xs     Quite cozy