difference.selected not working ....

Jim HubbardJim Hubbard Posts: 4
edited September 4, 2007 4:52AM in SQL Toolkit Previous Versions
Hi.

I am working on a compare routine and the 'selected' property doesn't seem to be working. If I set ALL difference.selected to false it works; does nothing. But if I set just one (or a couple) it still adds them to the work.

I want to be able to sync part of the differences if there are error so uses can go back and fix the errors later. Then sysn again... etc.

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hi Jim,

    If you're selecting a subset of schema objects to synchronize, and the resulting synchronization scripts include more objects that you had selected, it must be because the extra objects are dependencies of the selected objects. You could try setting the comparison options so that the 'IncludeDependencies' setting is turned off.

    Be aware that this may cause the script to throw errors when it's run, though!
Sign In or Register to comment.