I am trying to automate our build process. Until now I was able to create the code packages using CruiseControl.net, nAnt and MSBuild. But I am completely stuck when it comes to database comparing. I want to compare the development database to our QA database and create a script with the changes. I currently use the VS2010 database project and I could compare them manually. Is there any way I can make this comparison automatic? If I deploy my project, I get an .sql file generated using the dev database, but it is the whole database. I would like to have the differences between dev and qa only.
Is there any way to perform this approach? Any tool that allow me to compare the schema and run it from msbuild or the command line.
Thanks!