Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

resident where not like

Hi all,

I have the problem with the following:

Load

a1,

b1

resident table1

where field 1 like 'de*' and not field2 like 'e*'

The problem is that "not field2 like ..." doesn't work.

Any ideas?

Thank you for helping!

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Try like below

======================================

Load

a1,

b1,

.....

resident table1

where field1 like 'de*' and not WildMatch(field2,  'e*');

============================================

Something like

Load  * Resident TableName

Where Customer Like 'A*' and

Not WildMatch(Country, 'P*');

============================================

View solution in original post

6 Replies
arsal_90
Creator III
Creator III

put not(field2) i hope it works

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Could you be more specific about "not working"? Do you get a script error or don't get the filtering you expect?

-Rob

MK_QSL
MVP
MVP

Try like below

======================================

Load

a1,

b1,

.....

resident table1

where field1 like 'de*' and not WildMatch(field2,  'e*');

============================================

Something like

Load  * Resident TableName

Where Customer Like 'A*' and

Not WildMatch(Country, 'P*');

============================================

Anonymous
Not applicable
Author

Hi Rob,

the problem is that I don't get the filtering I expect.

swuehl
MVP
MVP

Robert,

without detailing what you expect to see (for example giving input data and your expected output table), it's almost impossible to help you.

Anonymous
Not applicable
Author

THX:, I had to put [field test] with []