1

I'm not sure if there is such a tool... given 2 sql server databases, I want the tool to tell me what is different between the 2 and give me the update script. I.e. create indexes, create table, create relationship, etc... I don't need data comparing, just schema.

DeanOC
  • 7,142
  • 6
  • 42
  • 56
user3900456
  • 2,003
  • 3
  • 25
  • 33

4 Answers4

3

This one is really popular, but it's not free.

Apex SQL

If your using SQL Server 2005 or 2008. You can try these

SQL Server Database Comparison Tool

DB Comparer

You can also use the Schema Compare option in SSMS.

Arun
  • 941
  • 6
  • 13
1

Visual Studio Premium and Ultimate versions come with a Schema Comparison tool (TOOLS | SQL Server | New Schema Comparison...)

There is more information here

DeanOC
  • 7,142
  • 6
  • 42
  • 56
0

Sql Server Data Tools (SSDT) has a schema compare tool, with an option to generate an update script. The example image below is version 2015.

enter image description here

James Wierzba
  • 16,176
  • 14
  • 79
  • 120
0

Try xSQL Schema Compare. It can compare any object in the database and generate synchronization scripts for all of the differences or just the ones you choose. Also, you can use it for free if you are using SQL Server Express.
Disclosure: I'm affiliated with xSQL.

Endi Zhupani
  • 736
  • 2
  • 7
  • 22