Link to home
Start Free TrialLog in
Avatar of shahjagat
shahjagatFlag for United States of America

asked on

Sql Server 2008 structure + data Comparisions of two different databases

I am new to sql server user but I had good experience on MySql + SqlYog tool

I want to compare structure as well as data between two different databases located at two different server on sql server.

1) As we have information_schema in Mysql, do we have similar option ( or any other alternative ) on Sql Server 2008?

2) As we have schema synchronization tool under powertools option inside SQLyog tool
    do we have similar option ( or any other alternative ) on Sql Server 2008?

Any help will be appreciated,
Avatar of D B
D B
Flag of United States of America image

Do you have the other database set up as a linked server? There is a product we use called SQL Compare by Red Gate. A two-week fully functional trial version is available. It will let you compare every single aspect of the schema, including extended properties, indexes, constraints, triggers, etc., or you can tailor it to which components to compare. As long as SQL Compare has access to both databases, it will function.
Of course, the 'quick and dirty' way would be to generate scripts for both databases as a single file, and then use a regular text-compare tool to find differences (e.g. Beyond Compare, etc.)
ASKER CERTIFIED SOLUTION
Avatar of D B
D B
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial