1
I have several different comics, and I need to compare their Schemas, but doing this manually can go unnoticed. For context I will use database of smaller proportion than work. Image here.
As you can see from the image, I have two databases, the base_forte and the base_comparacao.
Problem: Both have the table dbo student., however, in base_comparacao it has columns ID, Name and RA. Already in the base_forte the columns are ID, Name and Email, that is, the field differs RA and Email.
Another point that differ is that in base_comparacao contains the table dbo discipline., what is not in the other bank. Similarly in the base_forte contains the table dbo. that do not count in the other.
Doubt: is it possible to perform this comparison between two different bases? If yes, how? I need something that returns the differences of the Schemas, NAY of the data contained.
In other forums I read about the tablediff
but he didn’t answer me, or I misunderstood what he does.
UPDATE: I found some tools that do this (dbForge Schema Compare and Open Dbdiff), I wonder if there is a tool within SQL Server itself that does this without needing to download another application.
I found in the dba network: How can I compare the schema of two Databases?. In the first reply the author says to download ssmsboost and generate the script for both banks and use Winmerge(I don’t know) to compare the scripts.
– Marconi
has super good the https://www.red-gate.com/products/sql-development/sql-compare/
– Marco Souza
has a trial version
– Marco Souza
vlw the personal tip, I’ll look at these tools ... but what I wanted to know is if there’s anything native to SQL Server itself that does this.
– Gustavo Forte Andreli