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

有帮助吗?

解决方案

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

Problem solved. Sc

许可以下: CC-BY-SA归因
不隶属于 dba.stackexchange
scroll top