<?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 How to only load previously loaded data from second SQL query. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-only-load-previously-loaded-data-from-second-SQL-query/m-p/182024#M47836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;why you don;t include the first SQL query to the second one, sth like:&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt; a."Document No_",&lt;BR /&gt; a."Line No_"&lt;BR /&gt;FROM "Detailed Ledger Entry" a&lt;BR /&gt;join Ledger Entry" b on a."Document No_" and b."Document No_"&lt;BR /&gt;where b."Posting Date" &amp;gt;= '1.1.2009'&lt;/P&gt;&lt;P&gt;The other option is to use exists in the second SQL query, more info about SQL exists:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.techonthenet.com/sql/exists.php"&gt;http://www.techonthenet.com/sql/exists.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jun 2010 13:51:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-09T13:51:12Z</dc:date>
    <item>
      <title>How to only load previously loaded data from second SQL query.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-load-previously-loaded-data-from-second-SQL-query/m-p/182022#M47834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have loaded one table from SQL database with a certain conditions and named it as: "Customer_Ledger". I'm loading a second table from SQL database with select statement and I would like qlikview to check whether entry exists in "Customer_Ledger" table.&lt;/P&gt;&lt;P&gt;Could you give me an advice on how to do it? I know I would first load it from SQL and then use qlikview's logic to sort all the data out, but wouldnt the load speed be faster if I would limit the amount of loaded entries with SQL query? I have attached example below:&lt;/P&gt;&lt;P&gt;Customer_Ledger:&lt;/P&gt;&lt;P&gt;SQL select&lt;/P&gt;&lt;P&gt;"Entry No_",&lt;BR /&gt;"Document No_"&lt;/P&gt;&lt;P&gt;FROM "Ledger Entry" where "Posting Date" &amp;gt;= '1.1.2009';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;BR /&gt; "Document No_",&lt;BR /&gt; "Line No_",&lt;/P&gt;&lt;P&gt;FROM "'Detailed Ledger Entry" where ??? Insert reference to Customer_Ledger table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The linking factor would be Document No_.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 11:30:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-load-previously-loaded-data-from-second-SQL-query/m-p/182022#M47834</guid>
      <dc:creator>samu</dc:creator>
      <dc:date>2010-06-09T11:30:54Z</dc:date>
    </item>
    <item>
      <title>How to only load previously loaded data from second SQL query.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-load-previously-loaded-data-from-second-SQL-query/m-p/182023#M47835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And to clear things up a bit. As a result there should be two separate tables and the fields that should be compared are "Document No_" fields in both tables, which are later used to connect tables together.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 11:34:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-load-previously-loaded-data-from-second-SQL-query/m-p/182023#M47835</guid>
      <dc:creator>samu</dc:creator>
      <dc:date>2010-06-09T11:34:43Z</dc:date>
    </item>
    <item>
      <title>How to only load previously loaded data from second SQL query.</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-only-load-previously-loaded-data-from-second-SQL-query/m-p/182024#M47836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;why you don;t include the first SQL query to the second one, sth like:&lt;/P&gt;&lt;P&gt;SELECT&lt;BR /&gt; a."Document No_",&lt;BR /&gt; a."Line No_"&lt;BR /&gt;FROM "Detailed Ledger Entry" a&lt;BR /&gt;join Ledger Entry" b on a."Document No_" and b."Document No_"&lt;BR /&gt;where b."Posting Date" &amp;gt;= '1.1.2009'&lt;/P&gt;&lt;P&gt;The other option is to use exists in the second SQL query, more info about SQL exists:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.techonthenet.com/sql/exists.php"&gt;http://www.techonthenet.com/sql/exists.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Karol&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jun 2010 13:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-only-load-previously-loaded-data-from-second-SQL-query/m-p/182024#M47836</guid>
      <dc:creator />
      <dc:date>2010-06-09T13:51:12Z</dc:date>
    </item>
  </channel>
</rss>

