<?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 conditional load first 100 records for debugging in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/conditional-load-first-100-records-for-debugging/m-p/331669#M706997</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I did find the discussion at &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/70809#70809#70809"&gt;http://community.qlik.com/message/70809#70809&lt;/A&gt;&lt;SPAN&gt; but this will fail to work for me : My code is reading through odbc:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;First 100&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;field1,&lt;/P&gt;&lt;P&gt;field2;&lt;/P&gt;&lt;P&gt;Sql SELECT *&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; "My_Table"&lt;/P&gt;&lt;P&gt;where "My_Table".code = 'abc'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although the 'first' statement is set to 100 it still (I presume through the sql statement) loads all 4milj records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What would be the best solution to be able to set a global variable 'debugging' to e.g. true or false (or a number) : depending on this variable the load shouls only be perfomed on the first 100 records.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any best practive examples are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.s. I did notice the debudding 'limited load' option : this seems to work and helps a lot; however using the debugger is slower that a normale reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 13:20:32 GMT</pubDate>
    <dc:creator>andries_bos</dc:creator>
    <dc:date>2012-03-01T13:20:32Z</dc:date>
    <item>
      <title>conditional load first 100 records for debugging</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-load-first-100-records-for-debugging/m-p/331669#M706997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I did find the discussion at &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/70809#70809#70809"&gt;http://community.qlik.com/message/70809#70809&lt;/A&gt;&lt;SPAN&gt; but this will fail to work for me : My code is reading through odbc:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MyTable:&lt;/P&gt;&lt;P&gt;First 100&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;field1,&lt;/P&gt;&lt;P&gt;field2;&lt;/P&gt;&lt;P&gt;Sql SELECT *&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; "My_Table"&lt;/P&gt;&lt;P&gt;where "My_Table".code = 'abc'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although the 'first' statement is set to 100 it still (I presume through the sql statement) loads all 4milj records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What would be the best solution to be able to set a global variable 'debugging' to e.g. true or false (or a number) : depending on this variable the load shouls only be perfomed on the first 100 records.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Any best practive examples are welcome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.s. I did notice the debudding 'limited load' option : this seems to work and helps a lot; however using the debugger is slower that a normale reload.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-load-first-100-records-for-debugging/m-p/331669#M706997</guid>
      <dc:creator>andries_bos</dc:creator>
      <dc:date>2012-03-01T13:20:32Z</dc:date>
    </item>
    <item>
      <title>conditional load first 100 records for debudding</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-load-first-100-records-for-debugging/m-p/331670#M706998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Try this&lt;/P&gt;&lt;P&gt;Sql SELECT TOP 100 *&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; "My_Table"&lt;/P&gt;&lt;P&gt;where "My_Table".code = 'abc'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 13:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-load-first-100-records-for-debugging/m-p/331670#M706998</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-01T13:26:25Z</dc:date>
    </item>
    <item>
      <title>conditional load first 100 records for debudding</title>
      <link>https://community.qlik.com/t5/QlikView/conditional-load-first-100-records-for-debugging/m-p/331671#M706999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;with&amp;nbsp; &lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://community.qlik.com/people/celambarasan" id="jive-7002919043982741129483" onmouseout="" onmouseover=""&gt;Celambarasan Adhimulam&lt;/A&gt; answer, I changed my code to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vMaxRecords = 100;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and changed my script to :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sql SELECT &lt;STRONG&gt;TOP $(vMaxRecords)&lt;/STRONG&gt;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM&amp;nbsp; "My_Table"&lt;/P&gt;&lt;P&gt;where "My_Table".code = 'abc'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this seems to work !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 14:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditional-load-first-100-records-for-debugging/m-p/331671#M706999</guid>
      <dc:creator>andries_bos</dc:creator>
      <dc:date>2012-03-01T14:35:27Z</dc:date>
    </item>
  </channel>
</rss>

