Command-line compare exit codes
maximojo
Posts: 3
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
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
Comments
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?
Redgate Software
Thanks Robert!