Discussion Board for collaboration on QlikView Scripting.
I have the need to perform a task similar to the SQL IN statement.
I am performing two load processes into temporary tables:
different arguements here;
What I would like to do after is something like this:
Column7 NOT IN RESIDENT (Table2) Column4;
Any help is greatly appreciated.
1. In your example, there will be only Table1, because Table2 will automatically concatenate to Table1 due to similar columns.
2. If you want to load only values that are not present already in a loaded column, use EXISTS()
not EXISTS( Column1);
i changed the example to show two distinct datasets, in my case they would not be merged as these temp tables are never consumed in the ui this is part of a process to build a qvd.
that being said, how does, where not exists (column1) reference the different dataset?
I want to load everything into resident table3 where the column7 does not contain any of the loaded values in temp table2 column4.
WHERE not EXISTS( Column4, Column7)
Check out the help for detailed information about EXISTS() function, and do some testing.
column4 as column7_reference
where not exists(column7_reference,column7)
This helps in checking the existence only in Table2.