How to Deploy Azure SQL database using dacpac and Azure DevOps?

  Рет қаралды 14,158

SQL4ALL

SQL4ALL

Күн бұрын

Пікірлер: 30
@michaelnoelcortes4943
@michaelnoelcortes4943 10 ай бұрын
Hello, great session, thank you for sharing. Just one question, can we exclude objects in the deployment? For example out of 5 tables present in the database, i only want to deploy 2
@sharmafitness2109
@sharmafitness2109 10 ай бұрын
Yes we can do that
@loveplanes
@loveplanes Жыл бұрын
😂for the interruptions. Thanks for sharing.
@akm_121
@akm_121 2 ай бұрын
Hey how do i do this exact thing but with azure repo instrad of git ? I am getting errors
@SQL4ALL
@SQL4ALL 2 ай бұрын
should be working, what error do you get ?
@akm_121
@akm_121 2 ай бұрын
@@SQL4ALL I resolved it , instead of git ui i directly used visual studio thnx for the reply though.
@vissum7165
@vissum7165 Жыл бұрын
Hi....here you are using credentials directly,is it possible to use keyvalut?
@SQL4ALL
@SQL4ALL Жыл бұрын
Yes in the devops pipeline specify the key vault option, make sure access policy is granted and you enable "use key vault secrets" option
@anvicom
@anvicom 2 жыл бұрын
How do we set the order of SQL scripts that should get deployed? What if I want to have the TableA.sql to get deployed first and then deploy TableB.sql, and then stored procedure A followed by stored procedure B? Where do we configure the script dependencies when dealing with both kinds of deployment, dacpac deployment and SQL File(s) deployment .
@SQL4ALL
@SQL4ALL 2 жыл бұрын
if you are using dacpac, I believe it should take care of the dependencies of pre-defined objects (like sp, table, etc) For running Adhoc scripts use power shell in your CI/CD pipelines
@vijaylakshmi4573
@vijaylakshmi4573 2 жыл бұрын
Really helpful, can you please suggest: does deadlock causes synapse pipeline deployment fail?
@SQL4ALL
@SQL4ALL 2 жыл бұрын
yes deadlock could cause deployment failures, ideally you should not have any active transactions while performing deployment.
@vijaylakshmi4573
@vijaylakshmi4573 2 жыл бұрын
@@SQL4ALL thank you. It helped
@vijaylakshmi4573
@vijaylakshmi4573 2 жыл бұрын
@@SQL4ALL may I know your linked in profile?
@SQL4ALL
@SQL4ALL 2 жыл бұрын
@@vijaylakshmi4573 www.linkedin.com/in/azuredataengineer
@aadilahmad1611
@aadilahmad1611 Жыл бұрын
do i have to create 50 pipelines for 50 DB's?
@crismaxdiaz
@crismaxdiaz 10 ай бұрын
No, it's 1 pipeline per environment per deployment type, typically you want to have a Prod pipeline exclusive for your data related to the solution. In essence you can add as many databases as you need as part of the solution and in the datpac files. The trick is when you configure the pipeline you need configure the YAML file of the pipeline to add the respective steps for the job to handle the different DBs. Take a look to this video. kzbin.info/www/bejne/Y6O9qX95h9eao6s
@divyanipardeshi6403
@divyanipardeshi6403 Жыл бұрын
Hi SQL4ALL channel, Firstly thank you for such informative session. I was looking for same. In my use case I want to deploy dacpac into new sql server. Is this possible using the same? Just in Azure devops pipeline if i enter target server ?
@SQL4ALL
@SQL4ALL Жыл бұрын
Yes create a new server, use parameters to supply the names
@divyanipardeshi6403
@divyanipardeshi6403 Жыл бұрын
@@SQL4ALL Thank You so much
@divyanipardeshi6403
@divyanipardeshi6403 Жыл бұрын
One more question..Can this be implemented using azure runbooks?Bcoz I have imported bacpac files using powershell runbook.
@usr3426
@usr3426 3 жыл бұрын
Hi Nice video 😊👌 Will you give training kind of sessions?
@SQL4ALL
@SQL4ALL 3 жыл бұрын
Thanks Yes We could discuss on that Please drop me an email @ er.lokeshsharma08@gmail.com
@terryliu3635
@terryliu3635 2 жыл бұрын
Great demo!
@vin.sri.69
@vin.sri.69 2 жыл бұрын
Hi, How can I make it incremental deployment?
@SQL4ALL
@SQL4ALL 2 жыл бұрын
Hi Srikanth, this will be incremental deployment
@skillquench
@skillquench 10 ай бұрын
@@SQL4ALL this dacpac deployment will update current db ? not overwrite
@SQL4ALL
@SQL4ALL 10 ай бұрын
@@skillquench yeah
@paulsanchez5030
@paulsanchez5030 2 жыл бұрын
this video could have been so much better without the ppl there
@dsosys
@dsosys 2 жыл бұрын
17:38 that's why I hate to watch any video from India... bugs are always there...
Databases with SSDT: Deployment in CI/CD process with Azure DevOps
1:12:20
Kamil Data Geek - Azure explained
Рет қаралды 25 М.
Using Azure DevOps for Microsoft SQL Databases with SSDT
44:14
Data Lounge
Рет қаралды 25 М.
She made herself an ear of corn from his marmalade candies🌽🌽🌽
00:38
Valja & Maxim Family
Рет қаралды 18 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Implementing SQL Server DevOps Using Azure DevOps By Kevin Chant and Sander Stad
56:28
DataPlatformGeeks & SQLServerGeeks
Рет қаралды 6 М.
Developing CI/CD pipeline for SQL server- Part 2
25:19
Anshuman Dikshit
Рет қаралды 8 М.
Deploy Database Projects With Azure DevOps by Olivier Van Steenlandt
1:27:30
Bright International Communities
Рет қаралды 1,7 М.
Using Azure Pipelines for Azure SQL Deployments | Data Exposed
25:54
Microsoft Developer
Рет қаралды 20 М.
DataOps - Deploy SQL Server Databases Using Azure Pipelines - Mike Donnelly
1:12:35
PASS Data Community Summit
Рет қаралды 7 М.
DACPAC-Part1
26:28
Dotnet Naren
Рет қаралды 1,7 М.
How to Create a CI/CD Pipeline in Azure DevOps | Azure DevOps Tutorial
54:22