Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.55 KB

File metadata and controls

41 lines (34 loc) · 1.55 KB
title SqlPackage for Azure Synapse Analytics
description Tips for using SqlPackage in Azure Synapse Analytics scenarios
ms.custom tools|sos
ms.date 03/10/2021
ms.prod sql
ms.reviewer llali
ms.prod_service sql-tools
ms.topic conceptual
author dzsquared
ms.author drskwier

SqlPackage for Azure Synapse Analytics

This article highlights features of SqlPackage.exe that are focused on Azure Synapse Analytics databases.

Extract

To extract a schema to Azure Blob Storage, the following properties are required:

  • /p:AzureStorageBlobEndpoint
  • /p:AzureStorageContainer
  • /p:AzureStorageKey

Access for extract is authorized via a storage account key. An additional parameter is optional, which sets the storage root path within the container:

  • /p:AzureStorageRootPath

Without this property, the path defaults to servername/databasename/timestamp/.

Publish

To publish a schema from a dacpac in Azure Blob Storage, the following properties are required:

  • /p:AzureStorageBlobEndpoint
  • /p:AzureStorageContainer
  • /p:AzureStorageRootPath
  • /p:AzureStorageKey or /p:AzureSharedAccessSignatureToken

Access for publish can be authorized via a storage account key or a shared access signature (SAS) token.

Next Steps