<?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 Limiting SQL load in script to improve performance in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Limiting-SQL-load-in-script-to-improve-performance/m-p/315361#M710015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To improve the performance of the load script I wan't to partially load the new data from the SQL database and the old data from QVD files. Is there way to terminate a SQL load based on a certain treshold. In the example below the while statement is not working but gives an idea into what I want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD BookInventoryID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE BookInventoryID &amp;lt; 50000;&lt;/P&gt;&lt;P&gt;SQL SELECT BookInventoryID&lt;/P&gt;&lt;P&gt;WHILE BookInventoryID &amp;lt; 50000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Statement to terminate SQL load when boundary is reached &lt;/P&gt;&lt;P&gt;FROM DPAR.dbo.BookInventory&lt;/P&gt;&lt;P&gt;ORDER BY BookInventoryID ASC;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Order records ascending so only first part of the data is evaluated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you think this is not possible please reply so I can try something different. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2011 16:09:11 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-28T16:09:11Z</dc:date>
    <item>
      <title>Limiting SQL load in script to improve performance</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-SQL-load-in-script-to-improve-performance/m-p/315361#M710015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To improve the performance of the load script I wan't to partially load the new data from the SQL database and the old data from QVD files. Is there way to terminate a SQL load based on a certain treshold. In the example below the while statement is not working but gives an idea into what I want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD BookInventoryID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE BookInventoryID &amp;lt; 50000;&lt;/P&gt;&lt;P&gt;SQL SELECT BookInventoryID&lt;/P&gt;&lt;P&gt;WHILE BookInventoryID &amp;lt; 50000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Statement to terminate SQL load when boundary is reached &lt;/P&gt;&lt;P&gt;FROM DPAR.dbo.BookInventory&lt;/P&gt;&lt;P&gt;ORDER BY BookInventoryID ASC;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Order records ascending so only first part of the data is evaluated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you think this is not possible please reply so I can try something different. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 16:09:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-SQL-load-in-script-to-improve-performance/m-p/315361#M710015</guid>
      <dc:creator />
      <dc:date>2011-07-28T16:09:11Z</dc:date>
    </item>
    <item>
      <title>Limiting SQL load in script to improve performance</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-SQL-load-in-script-to-improve-performance/m-p/315362#M710016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT BookInventoryID&lt;/P&gt;&lt;P&gt;FROM DPAR.dbo.BookInventory&lt;/P&gt;&lt;P&gt;WHERE BookInventoryID &amp;lt; 50000&lt;/P&gt;&lt;P&gt;ORDER BY BookInventoryID ASC;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 16:14:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-SQL-load-in-script-to-improve-performance/m-p/315362#M710016</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-07-28T16:14:25Z</dc:date>
    </item>
    <item>
      <title>Limiting SQL load in script to improve performance</title>
      <link>https://community.qlik.com/t5/QlikView/Limiting-SQL-load-in-script-to-improve-performance/m-p/315363#M710017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! This reduces it significantly!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 17:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Limiting-SQL-load-in-script-to-improve-performance/m-p/315363#M710017</guid>
      <dc:creator />
      <dc:date>2011-07-28T17:04:16Z</dc:date>
    </item>
  </channel>
</rss>

