Comments
2 comments
-
Hi Peter,
I am afraid that the SQL Change Automation Azure Devops addons do not provide an option to reconnect if the first attempt fails.
It looks like an Azure SQL Server Serverless database will auto-resume approximately 1 minute after triggered.
So the way to go is to run a custom Powershell script before the SCA task.
You can possibly use the Test-DatabaseConnection cmdlet to trigger the wakeup and put a delay of at least 60 seconds before ending the task.
Kind Regards, -
Thank you, @Sergio R. That's what I figured. I already have similar functionality in some of my powershell scripts that interact with Azure SQL DB. Cheers.
Add comment
Please sign in to leave a comment.
Thank you,
-Peter