Cmd Line: Exclude missing objects with criteria
klatessa
Posts: 4
I am trying to do a compare where I want ignore missing objects from a specific schema. I have attempted a number of different permutations. If I could use the Missing operator in conjunction with a reg ex (as follows) it would be great:
Unfortunately it doesn't appear to be supported. Is there some other combination I can use to get there? Been spinning my wheels for awhile now.
/exclude:missing:\[dbo\]
Unfortunately it doesn't appear to be supported. Is there some other combination I can use to get there? Been spinning my wheels for awhile now.
Comments
Please let me know otherwise.
So, my thought was that I could ignore any object in the production database MISSING from the production repository that is in the DBO schema (which is likely to have new objects in it based on our design standards).
That way if an object in dbo that I care about changes OR if objects are put into one of our valid schema, then the comparison and synch will occur.
I have come up with a work around using filters but it is a little cumbersome to maintain. I am really surprised that this is not supported. Seems like something that would be fairly common.
Anyway. Thanks for your help. If you happen to run across a better solution or add the regex support for missing, additional, etc. let me know.