Extract DDL of Synapse SQL Pool and dump into Azure Devops to keep source-code in sync.

Batta, Gaurav 21 Reputation points
2022-10-17T20:42:27.913+00:00

Hi !
We have developers who directly make changes into Synapse SQL Pool (formerly SQL DW) in Azure. I want to make sure that changes in Synapse SQL pool is committed into Azure Repos/Azure DevOps. Is there a way using DACPAC that we frequently extract DDL of Synapse SQL pool Instance and sync it back in our source-code to make sure source-code is apples to apples with the database ?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,368 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,995 questions
0 comments No comments
{count} votes

Accepted answer
  1. BhargavaGunnam-MSFT 26,136 Reputation points Microsoft Employee
    2022-10-18T21:19:03.117+00:00

    Hello @Batta, Gaurav ,

    Welcome to the MS Q&A platform.

    Please correct me if my understanding is wrong. You want to know how to deploy synapse dedicated SQL pool dacpac to your Azure DevOps to keep source code in sync.

    How to create dacpac file
    You can create synapse dacpac file using Azure data studio by installing SQL database projects extension.

    This article from Kevin Chant explains how to create dacpac for dedicated SQL pool.

    Github Actions:

    Once you have the dacpac file, then you can use GitHub actions to deploy the dacpac to your Azure DevOps. Here is the document explains the process.

    One difference is that you can use a database project based on a dedicated SQL Pool instead of an Azure SQL Database. Another is that you would enter the connection string for your dedicated SQL Pool. Apart from that, the logic is the same.

    I hope this helps. Please let me know if you have any further questions.

    ------------------------------

    • Please don't forget to click on 130616-image.png and upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful