<?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 Re: Union vs Concat in QVD Gen in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915170#M982366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the new method (concatenate, not concat and SQL select, not load)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ABC:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL Select * from AMS_VIEW;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONCATenate (ABC)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL select * &lt;SPAN style="line-height: 1.5em;"&gt;from APJ_VIEW;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONCATenate (ABC)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL * from EMEA_VIEW;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Store ABC into ABC.QVD;&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;concatenate (Qlik) doesn't remove duplicate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;union (SQL) remove duplicate&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;so, if you have dup record in different views in your source db the result isn't the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Aug 2015 10:29:26 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-08-07T10:29:26Z</dc:date>
    <item>
      <title>Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915166#M982362</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;We were using some view to generate qvd's, but now its performance is got degraded because some changes in the view itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Older Method:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;select * frm AMS_VIEW&lt;/P&gt;&lt;P&gt;Union&lt;/P&gt;&lt;P&gt;Select* frm APJ_VIEW&lt;/P&gt;&lt;P&gt;Union&lt;/P&gt;&lt;P&gt;Select * frm EMEA_VIEW;&lt;/P&gt;&lt;P&gt;Store ABC into ABC.QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from AMS_VIEW&lt;/P&gt;&lt;P&gt;CONCAT&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from APJ_VIEW&lt;/P&gt;&lt;P&gt;CONCAT&lt;/P&gt;&lt;P&gt;Load *&lt;/P&gt;&lt;P&gt;from EMEA_VIEW&lt;/P&gt;&lt;P&gt;Store ABC into ABC.QVD&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Need to know is there any cases where concat will fail? I mean any corner cases.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915166#M982362</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-07T10:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915167#M982363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Firstly&amp;nbsp; - the keyword is Concatenate. Concat is an aggregation function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL unions require that the same fields, with the same data types exist in each SELECT in the same order.&lt;/P&gt;&lt;P&gt;QV concatenates do not require any of these, but 'missing' fields will get null values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I cannot think of a scenario where the QV concatenate would produce different results to an existing SQL union. But if SQL union works, why move it to QV?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:21:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915167#M982363</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-07T10:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915168#M982364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sure that you have no issue with concatenate. Your issues will be caused through the kind of your loads and from where you load the data. SELECT will be used to fetch data from databases per odbc/oledb-driver and LOAD is for loading external file-data or internal table-data. Please provide more (real) details from your load-script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:23:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915168#M982364</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-07T10:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915169#M982365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jonathan.&lt;/P&gt;&lt;P&gt;Yes its &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Concatenate sorry for that.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915169#M982365</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-07T10:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915170#M982366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the new method (concatenate, not concat and SQL select, not load)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ABC:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL Select * from AMS_VIEW;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONCATenate (ABC)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL select * &lt;SPAN style="line-height: 1.5em;"&gt;from APJ_VIEW;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;CONCATenate (ABC)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL * from EMEA_VIEW;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Store ABC into ABC.QVD;&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;concatenate (Qlik) doesn't remove duplicate&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;union (SQL) remove duplicate&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;so, if you have dup record in different views in your source db the result isn't the same&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:29:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915170#M982366</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-07T10:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915171#M982367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcus.&lt;/P&gt;&lt;P&gt;Here are the details &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Older:&lt;/P&gt;&lt;P&gt;ABC:&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select A,B,c....Z&lt;/P&gt;&lt;P&gt;frm AMS_VIEW&lt;/P&gt;&lt;P&gt;Union&lt;/P&gt;&lt;P&gt;select A,B,c....Z&lt;/P&gt;&lt;P&gt;frm APJ_VIEW&lt;/P&gt;&lt;P&gt;Union&lt;/P&gt;&lt;P&gt;select A,B,c....Z&lt;/P&gt;&lt;P&gt;frm EMEA_VIEW;&lt;/P&gt;&lt;P&gt;Store ABC into ABC.QVD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;New Method&lt;/P&gt;&lt;P&gt; ABC:&lt;/P&gt;&lt;P&gt;Load * ;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;select A,B,c....Z&lt;/P&gt;&lt;P&gt;from AMS_VIEW;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load * ;&lt;/P&gt;&lt;P&gt;select A,B,c....Z&lt;/P&gt;&lt;P&gt;from APJ_VIEW;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;Load * ;&lt;/P&gt;&lt;P&gt;select A,B,c....Z&lt;/P&gt;&lt;P&gt;from EMEA_VIEW;&lt;/P&gt;&lt;P&gt;Store ABC into ABC.QVD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915171#M982367</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-07T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915172#M982368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually we were creating our QVDs using union till now but suddenly the performance started coming down(Because we started getting more no records).&lt;/P&gt;&lt;P&gt;Someone suggested that use Concatenate instead of Union it will be faster and it is faster, but we were not sure if it will cause any data issue later on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:41:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915172#M982368</guid>
      <dc:creator>mishraamit2485</dc:creator>
      <dc:date>2015-08-07T10:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Union vs Concat in QVD Gen</title>
      <link>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915173#M982369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A preceeding load is often very helpful by loading data from databases but if you makes no adjustements or transformings to the database data you didn't need the preceeding. By operations which merge (concatenate/join/keep) tables you should use table-names to make sure that the operation will be applied to right table. Concret I mean:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;concatenate (ABC)&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Aug 2015 10:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Union-vs-Concat-in-QVD-Gen/m-p/915173#M982369</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-07T10:47:23Z</dc:date>
    </item>
  </channel>
</rss>

