question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Schema compare between 2 databases with external tables doesn't work

See original GitHub issue
  • Azure Data Studio Version: 1.43
  • OS Version: WIndows 11

Steps to Reproduce:

  1. open schema compare window via project plugin
  2. select a synapse dedicated pool with external tables as source
  3. select a 2nd synapse dedicated pool with same external tables as target
  4. click on compare

actual result: All external tables are mentioned as changed expected result: Only external tables with different DDL/structure are listed

image Both external tables have the exact same definitions. The external location bronze_datalake_dfs_core_windows_net is pointing to other physical locations.

Does this issue occur when all extensions are disabled?: N/A

Microsoft schema compare tool (part of DB projects extension

Issue Analytics

  • State:open
  • Created 4 months ago
  • Comments:30 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kisantiacommented, May 11, 2023

A new sqlpackage was released today that should have the fix for external tables being dropped and recreated. Can you please try it and see if that is working as expected? After that’s confirmed, I can get the DacFx version used in ADS updated in insiders to a version that includes that fix.

0reactions
SeenaAugustycommented, Jul 17, 2023

Hi @thomas-svrts, could you try it with the preview version NuGet Gallery | Microsoft.SqlServer.DacFx 162.1.80-preview

Read more comments on GitHub >

github_iconTop Results From Across the Web

External References to SQL tables in Visual Studio 2017 ...
I have run a compare between the database project and the database to detect the changes, all good so far, there are quite...
Read more >
Does SQL Data Compare support External Tables?
I need to compare External Tables in an Azure SQL Database with "standard" tables in the same database.
Read more >
Compare External Tables
I'm on v14 and it seems to think they are local tables. Doesnt seem to compare External Data Sources. My databases are all...
Read more >
Are there tools to perform data comparison between two ...
Traditional data comparison tools can compare two databases for differences if the schemas are the same. In our case there have been changes...
Read more >
Query across cloud databases with different schema
Schema : The external table DDL defines a schema that your queries can use. The schema provided in your external table definition needs...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found