Question

How do I show a message if none of the rows returned have a specific value?

If all of the results in a report have a status of "OK", I want to return a message indicating that there were no warnings.

How can I do that? Steve

Was it helpful?

Solution

So, the answer was simple, I was using "!=", I needed to use "<>".

Problem solved. Sc

Licensed under: CC-BY-SA with attribution
Not affiliated with dba.stackexchange
scroll top