Foreign Key and Index Overlap
Posted: Thu 18 Apr 2019 20:43
When performing a Project to Database schema comparison, if there's a table that has an index that includes a column that is also defined as a foreign key, the schema comparison report will show that table in the "Different" section with an "Update" operation. When you highlight that specific row in the comparison report, the comparison window has identical CREATE TABLE code snippets on both sides. The schema update script that gets generated is also blank.
It appears that the script generation correctly identifies that those tables are identical, but the comparison report thinks that they are different. This doesn't necessarily have any impact on successfully executing a schema compare, it is purely cosmetic. It just makes it difficult to identify the actual differences from the "fake" ones.
It appears that the script generation correctly identifies that those tables are identical, but the comparison report thinks that they are different. This doesn't necessarily have any impact on successfully executing a schema compare, it is purely cosmetic. It just makes it difficult to identify the actual differences from the "fake" ones.