سؤال

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