<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Where exist different connections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211380#M65667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should say, the 'where exists(FIELD,EXPRESSION) ' in this form can only be used with LOAD, not with an SQL SELECT; the database you are querying does not know this form of where exists, hence the SQL syntax error&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 19:12:17 GMT</pubDate>
    <dc:creator>biester</dc:creator>
    <dc:date>2009-10-08T19:12:17Z</dc:date>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211377#M65664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible tu use where exist with different data sources.&lt;/P&gt;&lt;P&gt;For instance:&lt;/P&gt;&lt;P&gt;Specs:&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;B,&lt;/P&gt;&lt;P&gt;from ..../...../......xls&lt;/P&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;from {datasource} where exists A;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, any idea how limit Orders with where exists?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:30:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211377#M65664</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-08T18:30:09Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211378#M65665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Orders:&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;A,&lt;/P&gt;&lt;P&gt;Quantity&lt;/P&gt;&lt;P&gt;from {datasource} where exists(A, A);&lt;/P&gt;&lt;P&gt;which means only load rows from 'datasource' where the value of 'A' has already been loaded into 'A' (which means into 'Specs')&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211378#M65665</guid>
      <dc:creator />
      <dc:date>2009-10-08T18:41:48Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211379#M65666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL error: Syntax error (comma) in query expression 'exists(DATE, DATE)'.&lt;BR /&gt;Script line: SELECT * FROM txBilling where exists(DATE, DATE)&lt;BR /&gt;SQL SELECT * FROM txBilling where exists(DATE, DATE)&lt;/P&gt;&lt;P&gt;This is error the error I get all the time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the script line:&lt;/P&gt;&lt;P&gt;SQL SELECT * FROM txBilling where exists(DATE, DATE);&lt;/P&gt;&lt;P&gt;in which where and exists are not highlighted in blue&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 18:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211379#M65666</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-08T18:46:24Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211380#M65667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I should say, the 'where exists(FIELD,EXPRESSION) ' in this form can only be used with LOAD, not with an SQL SELECT; the database you are querying does not know this form of where exists, hence the SQL syntax error&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:12:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211380#M65667</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T19:12:17Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211381#M65668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joachim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have an example what statement to use with sql select?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:45:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211381#M65668</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-08T19:45:53Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211382#M65669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With SQL SELECT you can only use what the underlying database understands. The database of course does not know anything about tables in QlikView, so in the SQL SELECT itself there is no possibility to refer to them. You all have to do it with load. A possibility would be to store date into qvd and then load from qvd; THERE you can use where exists.&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211382#M65669</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T19:51:53Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211383#M65670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that a clear explanation for me.&lt;/P&gt;&lt;P&gt;The search continues for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 19:56:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211383#M65670</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-08T19:56:41Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211384#M65671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What search? If I get you right I think what you want to achieve is possible without any problems.&lt;/P&gt;&lt;P&gt;e. g.:&lt;/P&gt;&lt;P&gt;Specs:&lt;/P&gt;&lt;P&gt;Load A,B from ..xls;&lt;/P&gt;&lt;P&gt;Orders_Temp:&lt;BR /&gt;SQL Select Product,A as A_Temp,Quantity from {Database};&lt;/P&gt;&lt;P&gt;Orders:&lt;BR /&gt;LOAD * resident Orders_Temp where exists(A,A_Temp);&lt;/P&gt;&lt;P&gt;drop table Orders_Temp;&lt;/P&gt;&lt;P&gt;Just a rough sketch without trying it, but it should work with more or less modifications in your case.&lt;/P&gt;&lt;P&gt;Rgds,&lt;BR /&gt;Joachim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211384#M65671</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T20:04:29Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211385#M65672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search -&amp;gt; still learning qlikview. To be the first Certified Qlikview Consultant in the company for which I work &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:33:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211385#M65672</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-08T20:33:22Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211386#M65673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, ok, I understand!&lt;/P&gt;&lt;P&gt;Wish you all the best!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211386#M65673</guid>
      <dc:creator>biester</dc:creator>
      <dc:date>2009-10-08T20:34:51Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211387#M65674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;I'm figuring out your script. Haven't got it working yet. It reads the temp table twice and not the RESIDENT table....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211387#M65674</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-08T20:42:24Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211388#M65675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;txBilling_temp:&lt;BR /&gt;LOAD&lt;BR /&gt; ACCTNUM,&lt;BR /&gt; AMTPAID,&lt;BR /&gt; BILL,&lt;BR /&gt; BILLREF,&lt;BR /&gt; DATE,&lt;BR /&gt; INVOICE,&lt;BR /&gt; isAccountInvoiced,&lt;BR /&gt; MEDNO,&lt;BR /&gt; ReDone;&lt;BR /&gt;SQL SELECT * FROM txBilling;&lt;BR /&gt;&lt;BR /&gt;txBilling:&lt;BR /&gt;LOAD * RESIDENT txBilling_temp;&lt;BR /&gt;&lt;BR /&gt;drop table txBilling_temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Results in nothing....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 20:43:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211388#M65675</guid>
      <dc:creator>Michiel_QV_Fan</dc:creator>
      <dc:date>2009-10-08T20:43:59Z</dc:date>
    </item>
    <item>
      <title>Where exist different connections</title>
      <link>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211389#M65676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;QV will auto concatenate if the two adjacent tables have the same columns. Place the word NOCONCATENATE between the two loads to stop this. You will then be able to drop your temp table withouth losing your resident table.&lt;/P&gt;&lt;P&gt;Also, looking at your exists issues.....you can always use left or inner join to overcome your problem. Join the two tables on your DATE field. so.....as a noddy script example.....&lt;/P&gt;&lt;P&gt;Load Date&lt;BR /&gt;SQL SELECT .......&lt;BR /&gt;&lt;BR /&gt;left join&lt;/P&gt;&lt;P&gt;Load Date,&lt;BR /&gt;col2,&lt;BR /&gt;col3,&lt;BR /&gt;..............................&lt;BR /&gt;&lt;BR /&gt;This would only give you dates in your second table for dates in your first. etc. etc.&lt;BR /&gt;&lt;BR /&gt;Cheers.&lt;BR /&gt;&lt;BR /&gt;Ad.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 21:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-exist-different-connections/m-p/211389#M65676</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-08T21:04:30Z</dc:date>
    </item>
  </channel>
</rss>

