Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

SQL select in clause with a qvd load or resident load

HI All

How do I a IN criteria for a qvd file load or a resident load?

for example, in sql i can have something like select * from table where title IN (select name from table2 where name IN ('open', 'close', 'other')

Thanks

1 Solution

Accepted Solutions
Not applicable
Author

You want to use the match() function - I did a blog post about it last weekend if it helps

http://oneqlikatatime.blogspot.co.uk/2012/05/in-statements-in-qlikview-match.html

Chris

View solution in original post

4 Replies
Not applicable
Author

You want to use the match() function - I did a blog post about it last weekend if it helps

http://oneqlikatatime.blogspot.co.uk/2012/05/in-statements-in-qlikview-match.html

Chris

Not applicable
Author

I have tried to make that work before (and failed) and I do not believe there is an "IN" statement in QlikViews scripting.

Stephen

Not applicable
Author

Hi Stephen,

The match() function has a funny syntax but is definitely a comparative function to SQL in function.

Chris

Not applicable
Author

You are right, the match function does handle the "IN" funtionality.

Stephen