jbalbo (6/29/2015)
Actually I just triedcase when (Question1 = N'No') then 'text here ' else '' end
+ case when (Question2 = N'No') then 'text here ' else '' end
+ case when (Question3 = N'No') then 'text here ' else '' end as result
It works, but maybe something better ?
If this works for you then use it. I don't think there's a much better way to do it.
For best practices on asking questions, please read the following article: Forum Etiquette: How to post data/code on a forum to get the best help[/url]