Database schema compare options in Visual Studio 2013 - where to set global options?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 01:00:18

There isn't a corresponding option with the SSDT framework (what replaced DB Projects). The best you can do is save your schema compare, then include it in the project. (It doesn't get included by default, even though the file itself is saved.) That will save your options so you can easily get them back. Not as convenient in some ways, but it does work. I miss being able to set the defaults as well.

Just to be clear (in case others are looking for it), the Schema Compare feature is now available for VS2013. Right-click your database project and choose "Schema Compare". Then, as Peter mentioned, you can save it and include it in your project. Not sure why it is not included by default.

Just a note that in VS2013 (Premium), you can access the tool to schema compare two databases on your network from Tools-SQL Server-New Schema Compare. No need for a project.

I went through some searching which referred to a Data menu item, which was present in earlier VS versions but not in VS2013. So hopefully this can save people some time if using VS2013

Direct to the point:

Go to a solution > Add New Project > "SQL Server Database Project".

Now right click the project and select SCHEMA COMPARE...

on the top of each of your *.scmp file window, there is an 'options' icon. click that.

In VS2013 you can get rid of that on project basis, in the SQL -> Options -> Object Types, you can exclude some objects for the current Database Project.

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