synapse sql database with external table

Hiral Shah 141 Reputation points
2022-03-01T16:58:41.427+00:00

Hello,

I am trying to create the repo for synapse workspace. when I connect to azure git repos, I could create all the resources like notebook, sqlscript, lake database, pipelines, triggers. But I do not see any folder for SQL database with external tables. Because I am not able to deploy sql database in UAT using CICD.

Please help me understanding this , if I am missing anything here.

Thanks in advance.

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.
5,256 questions
{count} votes

2 answers

Sort by: Most helpful
  1. AnnuKumari-MSFT 34,361 Reputation points Microsoft Employee
    2022-03-03T17:42:49.3+00:00

    Hi @Hiral Shah ,

    Thankyou for using Microsoft Q&A platform and posting your query.

    As I understand your query here is that when you do deployment for Azure synapse analytics using Azure DevOps , it's taking care of migrating all the codes for all resources like : notebook, sql scripts, lake database, pipelines, triggers but not SQL datawarehouse objects or dedicated SQL pool objects. Please let me know if my understanding is wrong.

    Unfortunately, that capability is missing. Deployment of dedicated SQL pool objects is external to Synapse deployment task.

    As workaround, you can use Flyway installer task and Flyway CLI task which includes Baseline,Migrate,Repair and Clean commands for SQL database objects.

    Please refer to the following article: https://flywaydb.org/documentation/

    Hope this will help. Please let us know if any further queries.

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

    • Please don't forget to click on 130616-image.png or 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

  2. AaronHughes 396 Reputation points
    2022-03-04T16:46:50.23+00:00

    for the SQL Pool you will need to set up a visual studio project to store your db code in

    https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/get-started-visual-studio

    you can then use standard DB CICD release the SQL code to your other environments


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.