Possible Duplicate:
Free Tool to compare Sql Server tables
I would like to compare two SQL Server databases including schema (table structure) and data in tables too. What is best tool to do this?
Possible Duplicate:
Free Tool to compare Sql Server tables
I would like to compare two SQL Server databases including schema (table structure) and data in tables too. What is best tool to do this?
I am using Red-Gate's software: http://www.red-gate.com
I would definitely go with AdeptSQL if you're using MSSQL. It's the least good looking but the most talented db compare tool amongst the ones I've tried. It can compare both the structure and the data. It tells you which tables exist on one db but does not exist on the other, compares the structure and data of the common ones and it can produce the script to synchronize the two. It's not free but has a 30 day trial (as far as I can remember)
There is one tool with source code available at http://www.codeproject.com/Articles/205011/SQL-Server-Database-Comparison-Tool
That should give flexibility as code is available.
I've used SQL Delta before (http://www.sqldelta.com/), it's really good. Not free however, not sure how prices compare to Red-Gates
Database Workbench can made it too
http://www.upscene.com/products.dbw.index.php
you can also made it with database Comparer
http://www.clevercomponents.com/products/dbcomparer/dbcomparer.asp
I use it for Firebird and it works well.
I'm partial to AdeptSQL. It's clean and intuitive and it DOESN'T have the one feature that scares the hell out of me on a lot of similar programs. One giant button that it you push it will automatically synchronize EVERYTHING without so much as a by-your-leave. If you want to sync the changes you have to do it yourself and I like that.