Usage of SQL Server Schema Compare v1.21.0 extention

Voldman, Eliya 0 Reputation points
2025-01-10T20:25:30.6466667+00:00

Hello,

I am using ADS:

Version: 1.50.0 (system setup)

Commit: 49c73a84388731fec941dac8d938345ac16bd470

Date: 2024-11-17T22:41:05.327Z

VS Code: 1.82.0

Electron: 30.5.1

Chromium: 124.0.6367.243

Node.js: 20.16.0

V8: 12.4.254.20-electron.0

OS: Windows_NT x64 10.0.17763
I have to compare 2 tables in the same database. I installed and used this extension: SQL Server Schema Comparev1.21.0

I never used it before ... and I see that it allows to compare only databases but not tables.

My question:

  1. could you suggest some workaround to use this extension for table comparison
  2. could you suggest another ADS extension for tables comparison?

Thanks

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,279 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 69,121 Reputation points
    2025-01-10T21:06:52.8033333+00:00

    why wouldn't you just use a full outer join query to compare?

    0 comments No comments

  2. Erland Sommarskog 115.1K Reputation points MVP
    2025-01-10T22:02:29.89+00:00

    Script both tables and save to file, and then compare the files in a good diff tool, for instance Beyond Compare.

    Full disclosure: I am not affiliated with Scooter Software, the vendor of Beyond Compare. But I am a very satisfied user for more than twenty years.

    0 comments No comments

  3. LiHongMSFT-4306 29,746 Reputation points
    2025-01-13T03:08:50.0333333+00:00

    Hi @Voldman, Eliya

    How about using SQL Server Data Tools (SSDT) to compare the data that is contained in two databases.

    See: How to: Compare and Synchronize the Data of Two Databases with SQL Server Data Tools.

    You can compare the data in a source database and a target database and specify which tables should be compared. The data can be reviewed to guide a decision about which changes to synchronize. Then you would either update the target to synchronize the databases or export the update script to the Transact-SQL editor or to a file.

    See this doc for more details: Compare and Synchronize Data in One or More Tables with Data in a Reference Database.

    Best regards,

    Cosmog


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.