?
Solved

How to identify difference between two databases' schema changes?

Posted on 2013-01-23
10
Medium Priority
?
351 Views
Last Modified: 2013-01-28
I've existing DB called A. I created another DB called B from the backup of A.

I do modification in both databases. Say for example, in database A, in tableA a new column has been added. In database B, in tableA a column has been dropped.

I would like to know the schema changes. How to identify them? Is there any FREE tool existing for that? Or any other way existing to identify this? Or If I want to implement new tool what approach I've to follow?

Please do guide me.
0
Comment
Question by:Easwaran Paramasivam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 39

Expert Comment

by:appari
ID: 38813125
Do you want to keep both the databases same all the time or you just want to know the changes? if you want to keep both the databases same you can try replication available in sqlserver.
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 38813136
Not in same time. A database in used in my application version 1.0 and B database is used in application version 2.0.

Note: I'm using SQL SERVER 2008 R2.
0
 
LVL 39

Expert Comment

by:appari
ID: 38813148
so you just want to know the differences only?
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 39

Expert Comment

by:appari
ID: 38813153
this tool from redgate helps in comparing schemas
http://www.red-gate.com/products/sql-development/sql-compare/
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 38813173
Once I know the difference, I need to upgrade the schema from lower version to higher version (means a common database which works in my application version 2.0). I know already database B works for application version 2.0. But I would like to incorporate the changes done in database A as well. So that I no need to maintain two databases.
0
 
LVL 16

Author Comment

by:Easwaran Paramasivam
ID: 38813174
Found sqlcompare is useful. It is commercial one. Any such kind of free tool available? If not, I would like to create my own tool. Please guide me how to achieve that?
0
 
LVL 39

Expert Comment

by:appari
ID: 38813185
trail version is available for download. you can download and use it to do the work.
0
 
LVL 39

Assisted Solution

by:appari
appari earned 1000 total points
ID: 38813187
freetool http://dbcomparer.com/ i never tried it so can't say how it works
0
 
LVL 9

Accepted Solution

by:
mimran18 earned 1000 total points
ID: 38816184
0
 
LVL 16

Author Closing Comment

by:Easwaran Paramasivam
ID: 38826079
Thanks.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question