<?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 condition when the data is loaded from sql statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229100#M713176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't understand why you are trying to do it in load statement? You can do the concatenation in SQL statement.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Shumail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jul 2010 11:50:15 GMT</pubDate>
    <dc:creator>shumailh</dc:creator>
    <dc:date>2010-07-21T11:50:15Z</dc:date>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229095#M713171</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;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;sql select&lt;BR /&gt;right('0000000000'+rtrim(cast(n_srno as varchar(10))),10)+c_doc_code as dwrkey,&lt;BR /&gt; c_item_code itemcode, n_product_unit sampleqty&lt;BR /&gt; from Tbl_DWR_Sub_Details where isnull(c_item_code,'')&amp;lt;&amp;gt;'';&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;If I want to concatenate the above dwrkey and itemcode as shown below then what will happen to the where condition which is there in the sql select statement.&lt;/P&gt;&lt;P&gt;I did some thing like the below one:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;dwrsamples:&lt;BR /&gt;Load dwrkey &amp;amp; '|' &amp;amp; itemcode as %key,sampleqty;&lt;BR /&gt;sql select&lt;BR /&gt;right('0000000000'+rtrim(cast(n_srno as varchar(10))),10)+c_doc_code as dwrkey,&lt;BR /&gt; c_item_code itemcode, n_product_unit sampleqty&lt;BR /&gt; from Tbl_DWR_Sub_Details where isnull(c_item_code,'')&amp;lt;&amp;gt;'';&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Let me know if I do like this what will happen to the where condition which is there in the sql statement. Will that where condition will not be executed? Please explain!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 10:19:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229095#M713171</guid>
      <dc:creator />
      <dc:date>2010-07-21T10:19:28Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229096#M713172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think isnull() function not support in sql server.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish Srivastava&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 10:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229096#M713172</guid>
      <dc:creator />
      <dc:date>2010-07-21T10:43:37Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229097#M713173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;Thanks for you reply. I think you did not get my question right.&lt;/P&gt;&lt;P&gt;I am loading the data through the qlikview load statement instead of the sql statement. So just wanted to know what will happen to the where condition condition.&lt;/P&gt;&lt;P&gt;Does the load statement works only after the sql statement gets executed with the where condition. Please explain!&lt;/P&gt;&lt;P&gt;isnull() function is allowed in sql server and able to execute the query without any issues.&lt;/P&gt;&lt;P&gt;Do reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 10:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229097#M713173</guid>
      <dc:creator />
      <dc:date>2010-07-21T10:52:18Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229098#M713174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your where condition will work which you have written in the Sql Statement. Data will be loaded on the basis of the result from the Sql Statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229098#M713174</guid>
      <dc:creator>manishkumar75</dc:creator>
      <dc:date>2010-07-21T11:16:15Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229099#M713175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;Thanks for your reply. So you mean to say that there is no need of writing where condition in LOAD statement again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229099#M713175</guid>
      <dc:creator />
      <dc:date>2010-07-21T11:26:19Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229100#M713176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I couldn't understand why you are trying to do it in load statement? You can do the concatenation in SQL statement.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Shumail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 11:50:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229100#M713176</guid>
      <dc:creator>shumailh</dc:creator>
      <dc:date>2010-07-21T11:50:15Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229101#M713177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shumail,&lt;/P&gt;&lt;P&gt;That's true that could have been done in the SQL statement itself. I just wanted to know when we are loading the data using the load statement does it loads the data from the sql statement or not. There is where condition there in the sql statement. So wanted to know do we need to write the where condition in the load statement also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 12:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229101#M713177</guid>
      <dc:creator />
      <dc:date>2010-07-21T12:00:17Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229102#M713178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shumail,&lt;/P&gt;&lt;P&gt;Do you have experience in working the loosely coupled. If you please help me out here.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/31125.aspx"&gt;http://community.qlik.com/forums/t/31125.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 12:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229102#M713178</guid>
      <dc:creator />
      <dc:date>2010-07-21T12:14:10Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229103#M713179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, there is no need to write Where Condition in Load coz it will load only those values that returned from your Sql Statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 13:05:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229103#M713179</guid>
      <dc:creator>manishkumar75</dc:creator>
      <dc:date>2010-07-21T13:05:14Z</dc:date>
    </item>
    <item>
      <title>Where condition when the data is loaded from sql statement</title>
      <link>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229104#M713181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manish,&lt;/P&gt;&lt;P&gt;Thanks for your help. Can you please help me out here if you can.&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/forums/t/31125.aspx"&gt;http://community.qlik.com/forums/t/31125.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jul 2010 13:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-condition-when-the-data-is-loaded-from-sql-statement/m-p/229104#M713181</guid>
      <dc:creator />
      <dc:date>2010-07-21T13:16:20Z</dc:date>
    </item>
  </channel>
</rss>

