i am fetching data from a QVD in the data editor and i would like to perform a SQL equivalent of WHER IN.
Can anybody tell me how to do this?
Basically like this:
FROM [lib://MyFolder/test.qvd] (qvd)
WHERE (my_field NOT IN (20, 30)
There is no IN operator in QV/QS. Use Match instead:
WHERE (Match(my_field, 20, 30) = 0)
U can using match function
WHERE not match(my_field,'20','30');
where my_field not in('d','c','f');
Retrieving data ...