Why Are Schemas Flagged As Diff When Owners are Mapped?
SteveT
Posts: 3
I'm using SQL Compare V10 to compare tables between a Production and QA database. In this situation, the Prod and QA databases use the same table objects, however they are owned by a different schema:
Example: In Prod we have PROD.TABLE1, in QA we have QA.TABLE1
I have mapped owners PROD to QA so they are treated as equivalent, however these names are flagged as differences in the output/report.
I understand that they are different due to different names, but I though that was the whole purpose of mapping owners(schemas) ?
I could not find an option work around this, any ideas?
Example: In Prod we have PROD.TABLE1, in QA we have QA.TABLE1
I have mapped owners PROD to QA so they are treated as equivalent, however these names are flagged as differences in the output/report.
I understand that they are different due to different names, but I though that was the whole purpose of mapping owners(schemas) ?
I could not find an option work around this, any ideas?
Comments
The only thing I noticed is that if the tables are different for a reason other than the table name, the SQL view highlights the name as a difference. So for example the code below creates a system-generated primary key and that is the reason they show up in the different objects list of the results. If you then use the option to ignore the names on constraints, then the tables are shown as equal.
It's the SQL view windows that are broken, but this does not affect the actual result.
If this is your issue, please let me know.