I have an existing pipeline that is using RedgateSqlChangeAutomationBuild@4 task and "localDB" value for tempServerTypeBuild option. This causes errors whenever the project contains syntax that's targeting Azure SQL Database, for example creating external tables. I was told that I need to use the option for tempServerTypeBuild that corresponds to Azure SQL DB, but I cannot find any documentation on how to do this. The closest I could find is a code snippet at the bottom of
this page that shows an example using "sqlServer" option:
- task: RedgateSqlChangeAutomationBuild@4<br> inputs:<br> operation: 'Build SQL Change Automation Project'<br> sqlProj: 'northwind/northwind.sqlproj'<br> packageName: 'NW'<br> tempServerTypeBuild: 'sqlServer'<br> tempServerNameBuild: '(localdb)\MSSQLLocalDB'<br> tempDatabaseNameBuild: 'Northwind'<br> authMethodBuild: 'windowsAuth'<br> nugetPackageVersionSelector: 'Specific'<br> nugetPackageVersion: '1.0'<br> nugetPackageVersionUseBuildId: true<br> requiredVersionOfDlma: <span>'latest'</span>
I don't know if this value works for Azure, or how to properly use the other options like "authMethodBuild", or even if this will fix my issue.
Any help from community will be much appreciated!
I don't know if this value works for Azure, or how to properly use the other options like "authMethodBuild", or even if this will fix my issue.
Any help from community will be much appreciated!