sql compare command line exit code 0, missing tables
tryggviFME
Posts: 5 New member
I'm running the following command : sqlcompare.exe /project:[Project name] /filter:testfilter.scpf /AssertIdentical and I'm trying to to get an non zero exit code. i.e. 79.
The filter does include a table comparison while omitting users and roles.
If I run the scpf file in sql compare I can clearly see that I'm missing a few tables, but otherwise the DB is identical to my source folder.
Am I doing something wrong? Some switch missing?
The filter does include a table comparison while omitting users and roles.
If I run the scpf file in sql compare I can clearly see that I'm missing a few tables, but otherwise the DB is identical to my source folder.
Am I doing something wrong? Some switch missing?
Tagged:
Best Answer
-
tryggviFME Posts: 5 New memberI just figured this out. My fault. I had unchecked the missing tables from the table list in the project file, so the program was working as expected.
Answers
(in the example below the source has an additional table)
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools
Here is the output.
That works fine.
The project switch is not returning the exit code I would have expected.
I have tested now with a scripts folder as the source, a project file and a filter file to replicate your scenario as closely as possible and in my case I still can't find any issues.
I will contact you directly through our support system
Product Support Engineer
Redgate Software Ltd
Please see our Help Center for detailed guides on how to use our tools