How can we help you today? How can we help you today?

Command-line compare exit codes

Hi,

Newb here. Question on using the command line and project files.

I want to make sure that a comparison comes back with all data I'm comparing being equal.

Do I assume that it returns a 0 if the comparison went through "successfully" i.e. no mistmatches when comparing rows?

Or do I need to pipe the commandline to an output file and just parse the text directly?

The exit codes only list negative results:

http://documentation.red-gate.com/displ ... mmand+line

Thanks for the help
maximojo
0

Comments

2 comments

  • Rob C
    Hi,

    The process will exit with exit code 63 if the databases are identical or no objects were included. If you want the process to exit with exit code 0 if the databases are identical, you can use the command line switch /Include:Identical

    Does that help?
    Rob C
    0
  • maximojo
    I didnt see that! That definitely helps.

    Thanks Robert!
    maximojo
    0

Add comment

Please sign in to leave a comment.