Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
jochenj
Advocate III
Advocate III

HowTo SQL Schema Compare ?

i need to compare on object level (Table/Procedure..) schemas between Fabric Databases / Warehouses.  But i cannot find any tool working for this job:
- Visual Studio 2022 + SSDT 
   Seems not possible. I can add the connections but when try to compare i get "Error master.dbo.sysconfigure is not supported in this version of sql server".  Same error i get when i successfully "import" the fabric database as a "DB Project" but then try to compare livedb<>project

- Visual Studio Code
   Cannot find any extension to do the job. "DB Projects" contains no schema compare and "SQL Server" also not

- Azure Data Studio

Didn't try , dont want to install extra for this job inbecause its official deprecated

Anyone with insights for a working solution? Having "Fabric Deployment Pipelines" looks nice, but there i also only see the DB Artecfacts and not the DB Objects itself like tables.. to compare

1 ACCEPTED SOLUTION
jochenj
Advocate III
Advocate III

hurray, it works now with Visual Studio. Had to update to latest VS version.
--> SQL database in Microsoft Fabric (requires VS2022 17.12)
Reference: Install SQL Server Data Tools (SSDT) - SQL Server Data Tools (SSDT) | Microsoft Learn

View solution in original post

4 REPLIES 4
jochenj
Advocate III
Advocate III

story continues: Today trying to schema compare a Azure SQL DB with Fabric SQL DB. Upgraded to lastes VS2022 V17.14.7 and SQL Server Data Tools 14.14.26.0 just to get error:

The source and target platform must be the same to use Schema Compare for Fabric mirrored SQL database (preview)

 

tried also exporting the azure sql db first as dacpac and then running the dacpac as soure, but same result. How stupid is that , i just want to compare table / views which can be read from INFORMATION_SCHEMA accross microsoft platform consistently. Will now check if redgate SQL compare is more developer friendly

Update:
Ok, same troublte with Redgate comparing an AzureSQLDB with FabricSQLDB 😞

jochenj_0-1750956885755.png

Could be so simple but now my next try/workaround will be to SQL Export the hole schema of both dbs in hope to identify different tables ...

yoleic
Microsoft Employee
Microsoft Employee

Hi @jochenj 

 

Good news - Schema Compare is also coming to VS Code mssql extension soon (Public Preview end of April) roadmap · microsoft/vscode-mssql Wiki.

 

If you'd like to see Schema Compare integrated natively inside the Fabric query editor, I suggest submitting an idea. Fabric Ideas - Microsoft Fabric Community.

 

Thanks!

jochenj
Advocate III
Advocate III

hurray, it works now with Visual Studio. Had to update to latest VS version.
--> SQL database in Microsoft Fabric (requires VS2022 17.12)
Reference: Install SQL Server Data Tools (SSDT) - SQL Server Data Tools (SSDT) | Microsoft Learn

Anonymous
Not applicable

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.