Schema Compare - How to take referenced projects into account?
-
14-04-2021 - |
質問
I've created a database project and several databases projects that reference that project. I would like to use VS2008 Schema Compare to compare the schema of one of the databases to my development database.
So far, so good. But when I check the result, it says it will skip all references!?
Question: How can I include the referenced database into my compare?
Ps. Comparing the "base" database first and then the other database won't work either, because it will result in drops.
解決
Each project must be compared individually. More info about pros and cons here. Hopefully it will be better in the future...
他のヒント
According to the MSDN page on "Compare and Synchronize Database Schemas" the meaning of Skip Referenced
is
The object exists in a referenced database and does not need to be dropped or created
That basically means that those objects already exist in the database and won't be created or deleted, they're unchanged.