<?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: Create Multiple Qvds Using Single Store Statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758422#M269915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben Marin its working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Dec 2014 08:11:57 GMT</pubDate>
    <dc:creator>sridhar423</dc:creator>
    <dc:date>2014-12-03T08:11:57Z</dc:date>
    <item>
      <title>Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758419#M269912</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 loaded 5 tables,and now i want to create 5 qvds with single store statement and i want to drop the tables at a time.&lt;/P&gt;&lt;P&gt;So, i used the below code for this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i =0 to NoOfTables()-1 &lt;/P&gt;&lt;P&gt;LET vTabName =TableName($(i)); &lt;/P&gt;&lt;P&gt;STORE $(vTabName) into $(vTabName).qvd (qvd); &lt;/P&gt;&lt;P&gt;DROP Table $(vTabName);&lt;/P&gt;&lt;P&gt; NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i'm unable to create the qvd 2nd table and 4th table and i'm gettinng an error.When i start debugging loop is stepping from 1st table to 3rd table and next 5th table and next getting an error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Syntax error, missing/misplaced FROM:&lt;/P&gt;&lt;P&gt;STORE&amp;nbsp; into .qvd (qvd)&lt;/P&gt;&lt;P&gt;STORE&amp;nbsp; into .qvd (qvd).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;Sridhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 12:07:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758419#M269912</guid>
      <dc:creator>sridhar423</dc:creator>
      <dc:date>2014-12-02T12:07:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758420#M269913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sridhar, you can use:&lt;/P&gt;&lt;P&gt;FOR i =0 to NoOfTables()-1 &lt;/P&gt;&lt;P&gt;LET vTabName =TableName(&lt;STRONG&gt;0&lt;/STRONG&gt;); &lt;/P&gt;&lt;P&gt;STORE $(vTabName) into $(vTabName).qvd (qvd); &lt;/P&gt;&lt;P&gt;DROP Table $(vTabName);&lt;/P&gt;&lt;P&gt; NEXT i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you drop the table, the index of the other tables changes, so you always need to get the (0) table until all are droped.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 12:16:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758420#M269913</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2014-12-02T12:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758421#M269914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This works, you would need to define the table names (in my case they are 'ASCII', 'Transactions', 'Characters')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR Each vTable IN 'ASCII', 'Transactions', 'Characters'&lt;/P&gt;&lt;P&gt;STORE $(vTable) INTO $(vTable).qvd (QVD);&lt;/P&gt;&lt;P&gt;DROP Table $(vTable);&lt;/P&gt;&lt;P&gt;NEXT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also create a subroutine and call the subroutine to store and drop the QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUB Create_QVD&lt;/P&gt;&lt;P&gt;&amp;nbsp; STORE '$(vTable)' INTO QVD\$(vTable) (qvd) ;&lt;/P&gt;&lt;P&gt;&amp;nbsp; DROP TABLE $(vTable);&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 13:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758421#M269914</guid>
      <dc:creator />
      <dc:date>2014-12-02T13:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758422#M269915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Ruben Marin its working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 08:11:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758422#M269915</guid>
      <dc:creator>sridhar423</dc:creator>
      <dc:date>2014-12-03T08:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758423#M269916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sridhar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to store multiple tables then you have store it in multiple QVD files.&amp;nbsp; You can store in QVD files using like this&lt;/P&gt;&lt;P&gt;STORE Table1 INTO Table1.qvd;&lt;/P&gt;&lt;P&gt;STORE Table2 INTO Table2.qvd;&lt;/P&gt;&lt;P&gt;STORE Table3 INTO Table3.qvd;&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;'&lt;/P&gt;&lt;P&gt;STORE Tablen INTO Tablen.qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or you can use For loop to store all tables in QVDs like below&lt;/P&gt;&lt;P&gt; &lt;BR /&gt;FOR vCount = 0 to NoOfTables()-1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LET vTableName = TableName($(vCount));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STORE $(vTableName ) INTO $(vTableName).qvd (qvd);&lt;/P&gt;&lt;P&gt;NEXT vCount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 08:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758423#M269916</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2014-12-03T08:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758424#M269917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I am loading the 3 csv files and trying to store all the 3&amp;nbsp; csv files as QVD. But the script is generating one qvd file which contains the data from all the 3 csv files. What if i need individual qvd for each file.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Viresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 15:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758424#M269917</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-12-15T15:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758425#M269918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This can be caused because your 3 loads have the same structure and is autoconcatenating. To avoid this you can use the 'NoConcatenate' clause:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD... FROM csv1&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoConcatenate&lt;/STRONG&gt; LOAD ... FROM csv2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 15:28:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758425#M269918</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2016-12-15T15:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Create Multiple Qvds Using Single Store Statement</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758426#M269919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. Its working file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 10:16:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Multiple-Qvds-Using-Single-Store-Statement/m-p/758426#M269919</guid>
      <dc:creator>vireshkolagimat</dc:creator>
      <dc:date>2016-12-16T10:16:24Z</dc:date>
    </item>
  </channel>
</rss>

