Error thrown by SQL Doc in Azure DevOps build pipeline SQL Change Automation task

nharris18nharris18 Posts: 7 New member
I have a SQL Change Automation task in an Azure DevOps build pipeline and have ticked the "Use Redgate Sql Doc" checkbox.

When it attempts to run, however, it throws the error "Reference to database and/or server name in 'master.sys.databases' is not supported in this version of SQL Server". Presumably, this is because of the limitations on cross-database queries in Azure SQL Database, so how do I set the component to run in the context of the target database?

Answers

Sign In or Register to comment.