Command Line Question

jpjp Posts: 2
edited August 6, 2007 5:10AM in SQL Compare Previous Versions
Is there an option to only show DB objects that are different not identical.


== I dont want to see
<> I want to see
> I want to see
< I want to see

Comments

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

    The last time this came up, I suggested piping the output of SQLCompare.exe to find, using a vertical bar |. This filters out the console output to only print the lines you want. In this example, find is used to show all lines from the console output that do not contain the string "==".
    sqlcompare.exe /db1:widgetstaging /db2:widgetproduction | find /V "=="
    
Sign In or Register to comment.