PreacherUK
Technical User
a return value from an sp?
The sp checks that some values from tables equal each other. if the numbers equal then the results of an analysis package are correct. I then truncate a table. However if the numbers do not match to within a tolerance I want the truncate skipped (which I've done) but then I want the rest of the package that called the sp to fail or at least register as a fail as the sp is the last step in the package.
Any way of doing this?
The sp checks that some values from tables equal each other. if the numbers equal then the results of an analysis package are correct. I then truncate a table. However if the numbers do not match to within a tolerance I want the truncate skipped (which I've done) but then I want the rest of the package that called the sp to fail or at least register as a fail as the sp is the last step in the package.
Any way of doing this?