Compare tools to generate update script for SQL server [closed]

北慕城南 提交于 2019-12-18 12:26:59

问题


I would like to make the update of the web application as automated as possible.
I'm looking for a tool that can compare two instances of a database and generate an update script for me. As part of the build process create a instance of the last version of the database (ie currently in production) and compare that to what has been changed on the development version.

Any input is appreciated.


回答1:


I like SqlDbDiff. Way cheaper than RedGate's SQL Compare




回答2:


I answered the same question here.

Best of luck! As you will see, I like the Red-Gate tools.




回答3:


See

Mechanisms for tracking DB schema changes

I believe the profluence of this question on SO speaks to the lack of a standard solution to this problem.

The great divide in approach is
- write delta scripts
- automate script generation from a "master" instance

It sounds like you want something in the latter camp.

Several such solutions and tools are noted in the above question.




回答4:


so far, satisfied with RedGate. We use SQL version control + SQL Compare. I've integrated it with Msbuild and Hudson. So that give us a complete continuous integration solution.




回答5:


Here are couple more to add to the list:

  • ApexSQL Diff (schema compare) and ApexSQL Data Diff (data compare)
  • Comparison toolset
  • Adept SQL Diff


来源:https://stackoverflow.com/questions/176316/compare-tools-to-generate-update-script-for-sql-server

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