Skip to content

EXTERNAL

CREATE EXTERNAL DATA SOURCE MyAzureBlobStorage
WITH ( TYPE = BLOB_STORAGE,
LOCATION = 'https://myaccount.blob.core.windows.net',
CREDENTIAL = MyAzureBlobStorageCredential
);
Command(s) completed successfully.

The example SQL query uses the CREATE EXTERNAL DATA SOURCE statement to create a data source named MyAzureBlobStorage that connect to an Azure Blob Storage. The TYPE is set to BLOB_STORAGE, LOCATION to the URL of the Blob Storage account, and CREDENTIAL to a pre-existing credential. The output indicates the command executed successfully.