Applies to: Databricks SQL Databricks Runtime 10.3 and above Unity Catalog only
Creates an external location with the specified name. If a location with the same name already exists, an exception is thrown.
For how-to instructions, see Create an external location.
CREATE EXTERNAL LOCATION [IF NOT EXISTS] location_name
WITH (STORAGE CREDENTIAL credential_name)
The name of the location to be created.
IF NOT EXISTS
Creates a location with the given name if it does not exist. If a location with the same name already exists, nothing will happen.
STRINGliteral with the location of the cloud storage described as an absolute URL. Must be surrounded by single quotes.
The named credential used to connect to this location.
An optional description for the location, or
NULL. The default is