How to deploy to 300 databases across 2 SQL servers?
Brice
Posts: 6 Bronze 1
Currently we are looking at SQL Change Automation for database deployments. I already watched the video on how to do the deployments but have some questions.
- Is there a way to make the database list dynamic v hardcoding the names?
- How is that done when using Azure CI/CD?
- Is it possible to also make the server dynamic?
- How does this extend to all environments?
Tagged:
Answers
Could you link me the video you're referring to in order to help me answer these questions?
For Azure CI/CD please see the following section: https://documentation.red-gate.com/sca/deploying-database-changes/add-ons/azure-devops
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?
Multi-Database Deployments with SQL Change Automation using Azure Pipelines - YouTube
Just want to clarify some other bits before I provide any advice, are you working from a single repository and just need to build and deploy those changes to multiple environments (databases)?
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?
Alternatively, you could use the PowerShell instead and use variables which you can pass through at run time for the environments -https://documentation.red-gate.com/sca/reference/powershell-cmdlets
If you wanted some help putting this through a POC, I'd advise getting in contact with some of our partners here: https://www.red-gate.com/partners/find-a-partner
Kind regards
Dan Calver | Redgate Software
Have you visited our Help Center?