<?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 Create QVD file from 3 SQL queries in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382354#M1168532</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;I have 3 sql statements.&lt;/P&gt;&lt;P&gt;for example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;select * from customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;product:&lt;/P&gt;&lt;P&gt;select * from products&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;salesperson&lt;/P&gt;&lt;P&gt;select * from sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store customer into test.qvd;&lt;/P&gt;&lt;P&gt;store product into test.qvd;&lt;/P&gt;&lt;P&gt;store salesperson into test.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my test.qvd file has only the data from salesperson.&lt;/P&gt;&lt;P&gt;I want all the data in one QVD file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 12:04:12 GMT</pubDate>
    <dc:creator>alwinsch</dc:creator>
    <dc:date>2012-08-30T12:04:12Z</dc:date>
    <item>
      <title>Create QVD file from 3 SQL queries</title>
      <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382354#M1168532</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;I have 3 sql statements.&lt;/P&gt;&lt;P&gt;for example &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Customer:&lt;/P&gt;&lt;P&gt;select * from customers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;product:&lt;/P&gt;&lt;P&gt;select * from products&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;salesperson&lt;/P&gt;&lt;P&gt;select * from sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store customer into test.qvd;&lt;/P&gt;&lt;P&gt;store product into test.qvd;&lt;/P&gt;&lt;P&gt;store salesperson into test.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my test.qvd file has only the data from salesperson.&lt;/P&gt;&lt;P&gt;I want all the data in one QVD file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;A.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 12:04:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382354#M1168532</guid>
      <dc:creator>alwinsch</dc:creator>
      <dc:date>2012-08-30T12:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Create QVD file from 3 SQL queries</title>
      <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382355#M1168533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is not possible&lt;/P&gt;&lt;P&gt;qvd is one table (allways)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can store it in qvw file (but then you could do only binary load all the tables from qvw file )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 12:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382355#M1168533</guid>
      <dc:creator />
      <dc:date>2012-08-30T12:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create QVD file from 3 SQL queries</title>
      <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382356#M1168534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You also could concatenate the 3 tables into one and then store it. Add a field which you can use to distinguish the records from each table, for example 'Customers' as [Origin Table].&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 12:48:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382356#M1168534</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-08-30T12:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create QVD file from 3 SQL queries</title>
      <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382357#M1168535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is the best idea i think&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 12:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382357#M1168535</guid>
      <dc:creator />
      <dc:date>2012-08-30T12:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create QVD file from 3 SQL queries</title>
      <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382358#M1168536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give a little example.&lt;/P&gt;&lt;P&gt;Because i don't know what you mean.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created 3 tables&lt;/P&gt;&lt;P&gt;and how to concatenate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is it better to try and edit my sql script so i have one table in origin?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 14:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382358#M1168536</guid>
      <dc:creator>alwinsch</dc:creator>
      <dc:date>2012-09-04T14:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create QVD file from 3 SQL queries</title>
      <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382359#M1168537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, in my opinion I think it would be easier to unite the pair sql query you have only one table, I can think of something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cliente:&lt;/P&gt;&lt;P&gt;select clientes.Cliente,clientes.Nombre,clientes.(loscampos que quieras de la tabla cliente), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; productos.Producto,productos.Descripcion,productos.(loscampos que quieras de la tabla Productos),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; venta.Movimiento,venta.NumerodeMovimiento,venta.Fechaemision&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from clientes,productos,venta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Venta.Cliente=Clientes.Cliente AND Venta.Producto=Productos.Producto&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming ls tables can be linked via any of the equations where after the end of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you serve&lt;/P&gt;&lt;P&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>Tue, 04 Sep 2012 16:13:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382359#M1168537</guid>
      <dc:creator>carloshernandez</dc:creator>
      <dc:date>2012-09-04T16:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create QVD file from 3 SQL queries</title>
      <link>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382360#M1168538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;OneTable :&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;sql select *, 'Customer' as Origin from customers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;concatenate (OneTable)&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;sql select *,&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt; 'Product' as Origin&lt;/SPAN&gt; from products;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;concatenate (OneTable)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;sql select *, 'Sales' as Origin from sales;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just be carefull. If the queries return common field names, they will be handled as one field. Maybe it is better to replace * with specific field names.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Sep 2012 17:30:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-QVD-file-from-3-SQL-queries/m-p/382360#M1168538</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2012-09-04T17:30:48Z</dc:date>
    </item>
  </channel>
</rss>

