Focal Point
[SOLVED] Opposite Of IN

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7007039976

December 22, 2015, 11:26 AM
Prince Joseph
[SOLVED] Opposite Of IN
Hi,

I have a report where I need to filter out values that I get in this form: ('value1','value2','value3')

I can use WHERE VALUE IN('value1','value2','value3') when i want to include those values.

But, how about when I want to exclude those values? NOT IN isn't an option it seems.

This message has been edited. Last edited by: Prince Joseph,


Webfocus 8, All Outputs

December 22, 2015, 11:40 AM
Tom Flynn
Sure it is:
WHERE NOT COLUMN_NAME IN ('VAL0','VAL1','VAL2')


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
December 22, 2015, 11:49 AM
Prince Joseph
That was it. Thanks for your help!


Webfocus 8, All Outputs

December 22, 2015, 11:50 AM
Tom Flynn
Welcome.
Merry Christmas!
Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
December 22, 2015, 11:56 AM
Prince Joseph
Merry Christmas!


Webfocus 8, All Outputs