What objects are not supported in the Base Line and Migrations ?
pkettlew
Posts: 15 Bronze 1
I do not get any of the "external data" sources scripted in the baseline scripts , causing errors in the build?
What is not supported and what do I need to do to manage this ?
What is not supported and what do I need to do to manage this ?
Tagged:
Answers
Currently, External Tables are not supported by the SQL Compare Engine and they are not scripted out.
- External Tables / External Data Sources / External File Formats are the main thing that has come up recently which are not scripted.
- The main categories of other things which aren't scripted are database configuration properties and settings and instance-level things like SQL Server Agent jobs, linked servers.
- There are some "dependency chain" scenarios which cause some objects to script as "unsupported", which is a slightly different scenario.
Work for adding support of External Tables is currently ongoing, and we expect support for External tables to ship this quarter (Q1 2021) in SQL Compare and its related tools (including SQL Change Automation).Creating External Tables in a pre-deployment script is the current workaround.
Kendra
so all objects in the baseline scripts that are associated with those external tables should be in the pre-deployment scripts ? schema, views, procedures
I need to change the base line script to remove all references to the external tables - is this correct ?
The definition of the external tables and anything that the external tables are dependent on (ie the external data source) would need to be set up by the pre-script.
Things that reference an external table, like views, procedures, etc, do not need to be modified in the baseline script (the baseline script is run *after* the pre-deployment script.)
Hope this helps,
Kendra
However in the AzureDevops pipeline job , it fails consistently
Have you got some guidelines of how to successfully create a build pipeline in Azure DevOps , with a pre-deployment script that has the statement
CREATE EXTERNAL DATA SOURCE