Filter excluding Partition Scheme not working on cmdline
TetonSig
Posts: 27
I am using a SQL Compare Filter to exclude all Partition Schemes from my SQL Compare between a scripts folder (Source) and Database (Destination).
If I run the SQL Compare UI , it work as expected. With the filter in place the UI tells me that there are no differences. If I force another difference by removing a filter I have on Users. The UI tells me correctly that only the User is different and when I generate the deployment script only the User change is scripted.
However, when I use the SQL Compare command line, it does not work as expected. With the filter in place the Interactive HTML SchemaReport.HTML correctly shows no differences. However the file generated by the /ScriptFile output looks as if the filter on Partition Scheme is not in place and includes the changes to the Partition Scheme between the two.
If I run the SQL Compare UI , it work as expected. With the filter in place the UI tells me that there are no differences. If I force another difference by removing a filter I have on Users. The UI tells me correctly that only the User is different and when I generate the deployment script only the User change is scripted.
However, when I use the SQL Compare command line, it does not work as expected. With the filter in place the Interactive HTML SchemaReport.HTML correctly shows no differences. However the file generated by the /ScriptFile output looks as if the filter on Partition Scheme is not in place and includes the changes to the Partition Scheme between the two.
Comments
However, because of the issue described here
http://www.red-gate.com/messageboard/vi ... hp?t=14710
I can't use that option. (And these are Partition Schemes and Partition Functions, not Filegroups anyway )
We've had a couple of reports of slightly similar issues with partition function / schemes, so I think there is an issue with v10.
I'll try and reproduce the problem and let you know what's going to be done.
If I can't reproduce it I'll probably come back to you for some more information.
Thanks for reporting this to us.
Can you post the command you're using?
Thanks for looking into it.