Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compare the structure of two MS SQL databases? [closed]

I need a free tool or some kind of tip/technique to compare the structure of two Microsoft SQL databases. Preferably MS SQL 2005.

The technique I tried to make work was generating scripts from both databases and then comparing the two files, but SQL Server generates objects in random order.

like image 738
Germstorm Avatar asked Dec 09 '22 21:12

Germstorm


2 Answers

it's only free on trial for 14 days, but redgate sql compare is pretty good and easy to use.

like image 130
burnside Avatar answered Mar 24 '23 14:03

burnside


I use this tool: http://www.codeplex.com/ScriptDB on my dev database.

Then I check all the files into svn and diff the files generated to see what needs to be changed in my live database. Works for me.

like image 30
Bård Avatar answered Mar 24 '23 14:03

Bård