I have a query in which I am querying based on few CASE conditions. I want a particular CASE statement to do nothing and skip that case all together.
select colA
case
when colB = 'P' then colC in (colD)
when colB = 'Q' then colC in (colE)
when colB = 'R' then do nothing
from table_A
Basically I want that whenever colB encounters value 'R' it does nothing and skips to the next row in table_A. Any way I can do this? If it matters, this is in DB2 Database and will be used in a PROC SQL procedure in SAS Enterprise Guide (Version 8.3)
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)