Could someone please assist me...
I'm trying to get all records in the database that displayedques = 'y' and displayedques = null. This is my stored procedure but it's not returning what I want.
select QuesNAns.questions, QuesNAns.answer, QuesNans.displayedques, topics.topicid
from QuesNAns, topics
where QuesNAns.topicID = Topics.topicID
and displayedques = 'y' or
displayedques = 'isnull'(displayedques, '""')
Thanks in advance.
I'm trying to get all records in the database that displayedques = 'y' and displayedques = null. This is my stored procedure but it's not returning what I want.
select QuesNAns.questions, QuesNAns.answer, QuesNans.displayedques, topics.topicid
from QuesNAns, topics
where QuesNAns.topicID = Topics.topicID
and displayedques = 'y' or
displayedques = 'isnull'(displayedques, '""')
Thanks in advance.