Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

using "like" in the script

I'm trying to use the "like" operator in my load script to limit what date is fed into my QlikView application...For example...


LOAD
Id as PersonId,
Name as PersonName,
Address as PersonAddress
FROM DataFile.csv
WHERE Address like 'Street';


That is, I only want to load data that has the string "Street" somewhere in the Address field. If that string does not exist in the Address field, do not load that data row. I tried using the "like" operator in the script with no luck. Any ideas?

1 Solution

Accepted Solutions
prieper
Master II
Master II

... WHERE WILDMATCH(Address, '*Street*') ...

-- please note the apostrophs

HTH
Peter

View solution in original post

2 Replies
prieper
Master II
Master II

... WHERE WILDMATCH(Address, '*Street*') ...

-- please note the apostrophs

HTH
Peter

Not applicable
Author

Excellent...many thanks!