Am I doing something wrong with deploying?
dbdmora
Posts: 50
I have SSC 2.2 and SQL Compare 9.
I right click on my DB A-->select SQL Schema compare\deploy-->select as source-->choose Source Control (latest head).
Drag my production DB B as Target and I click on Compare/deploy with SCompare.
Sql Compare opens up and I click on Compare now. Once the next window comes up, I am seeing all the different changes instead of only the changes from SSC? How do i make SQL compare only show me the differences that have been commited into Source control vs production instead of all the different other objects.
Thanks for the help
I right click on my DB A-->select SQL Schema compare\deploy-->select as source-->choose Source Control (latest head).
Drag my production DB B as Target and I click on Compare/deploy with SCompare.
Sql Compare opens up and I click on Compare now. Once the next window comes up, I am seeing all the different changes instead of only the changes from SSC? How do i make SQL compare only show me the differences that have been commited into Source control vs production instead of all the different other objects.
Thanks for the help
Comments
Thank you for your post into the forum.
I am little confused by your post.
Essentially you are performing a comparison between a scripts folder and a live database. By selecting the "Schema compare\deploy" from the menus in SSMS, the scripts folder is your SQL Source Control repository. So you are comparing this repository with a live database. Therefore the results displayed are the differences of what is in the SQL Source Control repository and the database you have selected as target.
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com
A possible workaround for your request is to setup a filter in SQL Source Control that only includes the objects you are interested in. SQL Compare should then pick this filter up when you come to deploy and only show the relevent objects in your comparison results.
However, the ability to pick-up and apply SQL Source Control filters was added in SQL Compare version 10, so I'm afraid you would need to upgrade.
In the meantime, we have raised a support issue to investigate carrying over SQL Source Control inclusions when deploying with SQL Compare but I am not able to give you an estimate of when this would appear in the product.
Best regards
Chris
Redgate Software
How can I get Sql compare to just show me the 1 stored proc from the svn revision instead of all those other changes that are different from dev to prodcution server. If I wanted to automate deployment, would it be possible? Thanks
The SQL Source Control filter should appear in the filter dropdown list and you should be able to apply it to the comparison results grid (shown in your screenshot).
Redgate Software