What are the challenges you face when working across database platforms? Take the survey

Excluding multiple object types with the command line tool

Ben MillsBen Mills Posts: 50
edited January 12, 2006 8:41AM in SQL Compare Previous Versions
I'm trying to exclude User and Role objects using the switch /exclude:User,Role

It has a very similar example in the help file, so I know this should work, but I'm getting an error message that this is an invalid value for switch /exclude

Please help.

Ben Mills


  • Options
    Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
    Hello Ben,

    You would need to use a combination of two exclude switches to effect this filter. Because the format of the exclude switch is /exclude:<object type>:<object name>,<object name>, I'd imagine it wouldn't work to include more than one object type in an exclude switch because anything after the comma would be interpreted as an object name rather than an object type.
  • Options
    Hi Brian,

    I used 2 exclude switches and that seems to work. Thanks very much.

    However, it does have an example in the documentation for the toolkit that says that a comma delited list of object types should work for the /exclude switch.

    Anyway, I'm happy. Thanks again.

This discussion has been closed.