Visual Studio 2012 Schema Compare: Column Order and Constraint Names

旧巷老猫 提交于 2019-12-08 14:57:55

问题


I'm experimenting with the SQL Schema Compare in Visual Studio 2012 Premium.

How do I ignore the column order in the comparison?

I found some posts that state this option was introduced in VS 2010, but I only see "Ignore column collation" the option in VS2012. (Discussion for vs2010)

How do I ignore any differences in the names of the constraints in the comparison?

The constraints should be present, but do not need to have the same name.


回答1:


The ignore column order was removed for VS2012 according to this link

As for ignoring the constraint name the only way I could see it done is visually comparing it. I am assuming you are wanting to do this because you have system-generated constraint names. You can avoid system-generated constrain name to overcome the issue.



来源:https://stackoverflow.com/questions/12671596/visual-studio-2012-schema-compare-column-order-and-constraint-names

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!