This is a simple question, I read some information about using CASE in WHERE , but could not give a clear idea of how to use it. The following is an example of my query:
1 SELECT * FROM dual 2 WHERE (1 =1) 3 AND (SYSDATE+1 > SYSDATE) 4 AND (30 > 40) 5 AND (25 < 35);
I have an i_value procedure, as in a parameter. I need to ignore the 4th line if i_value is "S" and I need to ignore the 5th line if i_value is "T".
Thanks in advance.
source share