<?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 How to attach one table to another one (vertical)? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-attach-one-table-to-another-one-vertical/m-p/1578925#M739903</link>
    <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;i am new to qlikview. So this question might be easy or maybe already answered.&lt;BR /&gt;&lt;BR /&gt;Situation: I've got two big tables on a sql server. Both tables got the same structure (same columns). One table got the data from 2017 and one 2018. Because of the size of the table, i have to dowload the data as an .qvd file via OLE DB connection. After that, i load both qvd in one .qvw file.&lt;BR /&gt;&lt;BR /&gt;Is there a way to add one table to the other as "extra-rows" at the bottom ? My goal is too have one table with the data from 2017 and 2018.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Downloading as qvd:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [serverinfo];&lt;BR /&gt;tbl_2017:&lt;BR /&gt;LOAD "ID",&lt;BR /&gt;"NAME",&lt;BR /&gt;"ADRESS",&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM table2017;&lt;BR /&gt;STORE tbl_2017 into tbl_2017.qvd (QVD)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Loading qvd in qvw:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;"ID",&lt;BR /&gt;"NAME",&lt;BR /&gt;"ADRESS",&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Marko\tbl_2017.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;****same code for the data from 2018****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Best Regards Marko&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Marko</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>How to attach one table to another one (vertical)?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-attach-one-table-to-another-one-vertical/m-p/1578925#M739903</link>
      <description>&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;i am new to qlikview. So this question might be easy or maybe already answered.&lt;BR /&gt;&lt;BR /&gt;Situation: I've got two big tables on a sql server. Both tables got the same structure (same columns). One table got the data from 2017 and one 2018. Because of the size of the table, i have to dowload the data as an .qvd file via OLE DB connection. After that, i load both qvd in one .qvw file.&lt;BR /&gt;&lt;BR /&gt;Is there a way to add one table to the other as "extra-rows" at the bottom ? My goal is too have one table with the data from 2017 and 2018.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1. Downloading as qvd:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;OLEDB CONNECT TO [serverinfo];&lt;BR /&gt;tbl_2017:&lt;BR /&gt;LOAD "ID",&lt;BR /&gt;"NAME",&lt;BR /&gt;"ADRESS",&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM table2017;&lt;BR /&gt;STORE tbl_2017 into tbl_2017.qvd (QVD)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2. Loading qvd in qvw:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;"ID",&lt;BR /&gt;"NAME",&lt;BR /&gt;"ADRESS",&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Marko\tbl_2017.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;****same code for the data from 2018****&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Best Regards Marko&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-attach-one-table-to-another-one-vertical/m-p/1578925#M739903</guid>
      <dc:creator>Marko</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to attach one table to another one (vertical)?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-attach-one-table-to-another-one-vertical/m-p/1578948#M739905</link>
      <description>&lt;P&gt;Hello Marko,&lt;/P&gt;&lt;P&gt;To join all the data in a table you should use a concatenate. I give you an example:&lt;/P&gt;&lt;P&gt;In the same qlik:&lt;/P&gt;&lt;P&gt;TABLE:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD&amp;nbsp;"ID",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"NAME",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"ADRESS",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[C:\Users\Marko\tbl_2017.qvd]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Concatenate&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD&amp;nbsp;"ID",&lt;BR /&gt;"NAME",&lt;BR /&gt;"ADRESS",&lt;BR /&gt;FROM&lt;BR /&gt;[C:\Users\Marko\tbl_2018.qvd]&lt;BR /&gt;(qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And then you can export everything in a single qvd.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;store * from TABLE into TABLE_OK.qvd;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 May 2019 12:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-attach-one-table-to-another-one-vertical/m-p/1578948#M739905</guid>
      <dc:creator>ignacio_pena</dc:creator>
      <dc:date>2019-05-10T12:11:19Z</dc:date>
    </item>
  </channel>
</rss>

