<?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 1 in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404361#M803962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a script like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;A as aa,&lt;/P&gt;&lt;P&gt;B as bb&lt;/P&gt;&lt;P&gt; resident Temp_Table&lt;/P&gt;&lt;P&gt; where 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It truncating data from table. If I check data in Temp1, it is showing 0 records.&lt;/P&gt;&lt;P&gt;If I put where 1, then it is showing all records.&lt;/P&gt;&lt;P&gt;Is it something line where 1 means it will show first row only?&lt;/P&gt;&lt;P&gt;Please help me to understand the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>mhmmd_srf</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404361#M803962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a script like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;A as aa,&lt;/P&gt;&lt;P&gt;B as bb&lt;/P&gt;&lt;P&gt; resident Temp_Table&lt;/P&gt;&lt;P&gt; where 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It truncating data from table. If I check data in Temp1, it is showing 0 records.&lt;/P&gt;&lt;P&gt;If I put where 1, then it is showing all records.&lt;/P&gt;&lt;P&gt;Is it something line where 1 means it will show first row only?&lt;/P&gt;&lt;P&gt;Please help me to understand the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404361#M803962</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404362#M803963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use First or RowNo() functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 11:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404362#M803963</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-11-16T11:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404363#M803964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this way for your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. By First&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;First 1&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Noconcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A as aa,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;B as bb&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident Temp_Table;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;2. By Rowno()&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Noconcatenate&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Temp1:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Load&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A as aa,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;B as bb&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;resident Temp_Table&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Where RowNo() &amp;lt; 1;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;This all loading only one row.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 11:43:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404363#M803964</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-11-16T11:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404364#M803965</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;1 means true. and&lt;/P&gt;&lt;P&gt;0 means false&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to take read only 1 record you can use like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select top 1 * from tableNAme&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;First 1 Load * from tableNAme&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;navigate below thread &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm" title="http://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/First.htm"&gt;First ‒ QlikView&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 11:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404364#M803965</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2017-11-16T11:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404365#M803966</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 want to understand what is the difference between &lt;STRONG&gt;where 0&lt;/STRONG&gt; and &lt;STRONG&gt;where 1.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 11:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404365#M803966</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2017-11-16T11:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404366#M803967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where 0 means False value is passed to the Load statement and when using Where 1 it passes True to the load statement. I believe that is the only difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 12:07:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404366#M803967</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-11-16T12:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404367#M803968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not very clear.&lt;/P&gt;&lt;P&gt;Could you please explain with my example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your co operation.&lt;/P&gt;&lt;P&gt;Sarif&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 12:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404367#M803968</guid>
      <dc:creator>mhmmd_srf</dc:creator>
      <dc:date>2017-11-16T12:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404368#M803969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is like using&amp;nbsp; where 1=1 &lt;/P&gt;&lt;P&gt;or where 1=0 in &lt;STRONG&gt;sql&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;A as aa,&lt;/P&gt;&lt;P&gt;B as bb&lt;/P&gt;&lt;P&gt;resident Temp_Table&lt;/P&gt;&lt;P&gt;where 0;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;is same as&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Temp1:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;A as aa,&lt;/P&gt;&lt;P&gt;B as bb&lt;/P&gt;&lt;P&gt;resident Temp_Table&lt;/P&gt;&lt;P&gt;where 1=0;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 15:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404368#M803969</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-11-16T15:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: Where 1 in script</title>
      <link>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404369#M803970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Where clause determines if the current input row will be included in the output table. If Where returns a true value, the row will be kept, if false the row will be discarded. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where 0;&amp;nbsp; // Always false, keep no rows&lt;/P&gt;&lt;P&gt;Where 1;&amp;nbsp; // Always true, keep all rows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Nov 2017 17:17:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-1-in-script/m-p/1404369#M803970</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2017-11-16T17:17:34Z</dc:date>
    </item>
  </channel>
</rss>

