<?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: Having problem while selecting multiple tables all at a time.. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706306#M1070028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Can you tell me that at the following step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does replace function replacing each table name with a comma&amp;nbsp; ?? IS it so or something else ?/&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Sep 2014 07:16:01 GMT</pubDate>
    <dc:creator>nikhilgarg</dc:creator>
    <dc:date>2014-09-04T07:16:01Z</dc:date>
    <item>
      <title>Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706298#M1070020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEy,&lt;/P&gt;&lt;P&gt;When i choose any database (say having 50 tables)&amp;nbsp; and i have to select 15 tables in qlikview then i can not select them all at a time . I will have to select all 15 tables one by one. Is there any way to select all 15 tables all at a time ??&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706298#M1070020</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T06:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706299#M1070021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You have to use For loop to load the tables, check this link below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3863" style="font-weight: bold; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;Load all tables in database dynamically&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706299#M1070021</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T06:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706300#M1070022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey , Can you please help em understanding that script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD "TABLE_NAME" as&amp;nbsp; TableNames;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT DISTINCT "TABLE_NAME"&lt;/P&gt;&lt;P&gt;FROM "INFORMATION_SCHEMA".COLUMNS;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Let vTableCount = NoOfRows('SQLTableList'); &lt;/P&gt;&lt;P&gt;Let vTableCountQVD = 'dbo.[' &amp;amp; NoOfRows('SQLTableList') &amp;amp; ']';&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;For i = 0 To $(vTableCount) -1 &lt;/P&gt;&lt;P&gt;LET vMyTableName = 'dbo.[' &amp;amp; Peek('TableNames', $(i), 'SQLTableList') &amp;amp; ']';&lt;/P&gt;&lt;P&gt;LET vMyTableNameQVD = Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', ''); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$(vMyTableNameQVD): &lt;/P&gt;&lt;P&gt;SQL SELECT *FROM $(vMyTableName); &lt;/P&gt;&lt;P&gt;STORE $(vMyTableNameQVD) INTO $(ExtractQVD)$(vMyTableNameQVD).QVD; &lt;/P&gt;&lt;P&gt;DROP Table $(vMyTableNameQVD); &lt;/P&gt;&lt;P&gt;Next i&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanx in advance ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706300#M1070022</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T06:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706301#M1070023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The below statement loads all tables in database (Note this works for SQL Server)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;SQLTableList&lt;/SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LOAD "TABLE_NAME" as&amp;nbsp; TableNames; &lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;SQL SELECT DISTINCT "TABLE_NAME"&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;FROM "INFORMATION_SCHEMA".COLUMNS;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Let vTableCount = NoOfRows('SQLTableList'); - This will get the count of tables in database&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;This loops the table and reloads the tables dynamically&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;For i = 0 To $(vTableCount) -1 -- Loops 0 to n-1&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LET vMyTableName = 'dbo.[' &amp;amp; Peek('TableNames', $(i), 'SQLTableList') &amp;amp; ']'; -- Gets i th table name in database using Peek() - Refer help file for detailed help&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LET vMyTableNameQVD = Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', ''); - Genrates QVD name to be generated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;$(vMyTableNameQVD):&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;SQL SELECT *FROM $(vMyTableName);&amp;nbsp; -- Loads the table from Database&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;STORE $(vMyTableNameQVD) INTO $(ExtractQVD)$(vMyTableNameQVD).QVD;&amp;nbsp; -- Stores the table into QVD&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;DROP Table $(vMyTableNameQVD); -- Drops the qvd&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Next i&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;IF you don't want to delete the tables just remove this two lines below&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;STORE $(vMyTableNameQVD) INTO $(ExtractQVD)$(vMyTableNameQVD).QVD;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;DROP Table $(vMyTableNameQVD);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Hope this helps you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:29:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706301#M1070023</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T06:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706302#M1070024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Thanx for your reply. I get an overview but not completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHat is&amp;nbsp; :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;1: SQLTableList(Is this our defined variable if so then we give such name to only 1 table when loading but here we are loading multiple tables) ??&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2: LOAD "TABLE_NAME" as&amp;nbsp; TableNames (What is TABLE_NAME&amp;nbsp; here ?? WHat does it points to ??)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;3: FROM "INFORMATION_SCHEMA".COLUMNS; (What is &lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;"INFORMATION_SCHEMA".COLUMNS &amp;gt;&amp;gt; Is &lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;INFORMATION_SCHEMA&lt;/SPAN&gt; somethign predefined ?? and what this ".Columns" does ??&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;4: LET vMyTableNameQVD = Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', ''); - Genrates QVD name to be generated.(I do not understand what is happening here ??)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 12px; background-color: #f6f6f6; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;5: &lt;/SPAN&gt;STORE $(vMyTableNameQVD) INTO $(ExtractQVD)$(vMyTableNameQVD).QVD;&amp;nbsp; -- Stores the table into QVD&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;DROP Table $(vMyTableNameQVD); -- Drops the qvd&amp;nbsp;&amp;nbsp; (If we have to drop t he qvd's then why we are creating it at immediate previous step ??)&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Please solve my doubts. I will be grateful to you.&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:47:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706302#M1070024</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T06:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706303#M1070025</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;Use this script below to load the required tables, just change the table names below.&amp;nbsp; Replace Table1, Table2, Table3.....Tablen with your actual table names.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If you want detailed help regarding the functions refer qlikview help file or Qlikview reference manual file.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SQLTableList:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD *&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;INLINE [&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;TABLE_NAME&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table2&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table3&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Table4&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Tablen];&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vTableCount = NoOfRows('SQLTableList');&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Let vTableCountQVD = 'dbo.[' &amp;amp; NoOfRows('SQLTableList') &amp;amp; ']';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;For i = 0 To $(vTableCount) -1&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vMyTableName = 'dbo.[' &amp;amp; Peek('TableNames', $(i), 'SQLTableList') &amp;amp; ']';&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET vMyTableNameQVD = Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', '');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;$(vMyTableNameQVD):&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SQL SELECT *FROM $(vMyTableName);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;STORE $(vMyTableNameQVD) INTO $(ExtractQVD)$(vMyTableNameQVD).QVD;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;DROP Table $(vMyTableNameQVD);&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Next i&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Generally in companies if we need to load the same table data in many Dashboards then the QVDs are generated in one Qlikview and then reused this QVDs in other dashboard.&amp;nbsp; QVDs are removed to reduce the file size, we are deleting table because we are not using this in the current qlikview file.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Note: I suggest you to load the tables separately, instead of using loop. Because you have a better control, sometimes we need to filter data in some tables, or we need to restrict some columns.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope this helps you.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards,&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:58:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706303#M1070025</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T06:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706304#M1070026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For step 5: we are not dropping QVD, we are just dropping table in qlikview file, since we are not using it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 06:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706304#M1070026</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T06:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706305#M1070027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEy thanx jagan.&lt;/P&gt;&lt;P&gt;I get a glimpse of what this function trying to do but not completely. MAy be when i use it den i understand completely. ANyways thanx a lot &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 07:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706305#M1070027</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T07:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706306#M1070028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;Can you tell me that at the following step:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', '')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does replace function replacing each table name with a comma&amp;nbsp; ?? IS it so or something else ?/&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 07:16:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706306#M1070028</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T07:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706307#M1070029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That statement replaces white spaces with empty values, simply removes whitespaces.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 08:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706307#M1070029</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T08:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706308#M1070030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ohk thanx &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp; But why do we need to create it in separate variable. We can do this in a step above also&amp;nbsp; , right ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 08:53:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706308#M1070030</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T08:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706309#M1070031</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;one for getting actual database table name and another for QVD name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LET vMyTableName = 'dbo.[' &amp;amp; Peek('TableNames', $(i), 'SQLTableList') &amp;amp; ']'; --&amp;nbsp; SQL Table Name&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;LET vMyTableNameQVD = Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', ''); - Genrates QVD name to be generated&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Regards,&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f6f6f6;"&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 08:58:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706309#M1070031</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T08:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706310#M1070032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yOu mean to say that we use qvd's bcoz they contain data in reduced form. So we are removing it in second step. Although we can do it&amp;nbsp; in previous step also but no required. Right ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In LET vMyTableNameQVD = Replace(Peek('TableNames', $(i), 'SQLTableList'), ' ', '');:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are fetching table name that contains data but with no spaces or commas . Right ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 09:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706310#M1070032</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T09:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706311#M1070033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To reduce the database hits we are using QVDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are generating a QVD name with no empty spaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 09:14:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706311#M1070033</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T09:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706312#M1070034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HEy ,&lt;/P&gt;&lt;P&gt;THanx jagan. NOw i understand the whole working of the code. But a last question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the following:&lt;/P&gt;&lt;P&gt;STORE $(vMyTableNameQVD) INTO $(ExtractQVD)$(vMyTableNameQVD).QVD;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHat is the working of :&amp;nbsp;&amp;nbsp; $(ExtractQVD) ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 09:24:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706312#M1070034</guid>
      <dc:creator>nikhilgarg</dc:creator>
      <dc:date>2014-09-04T09:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Having problem while selecting multiple tables all at a time..</title>
      <link>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706313#M1070035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nikhil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is the file path for example C:\Qlikview\, instead of hard coding we are maintaining this in variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please close this thread if you got the solution by giving Correct and Helpful answers to the helpful posts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 09:31:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Having-problem-while-selecting-multiple-tables-all-at-a-time/m-p/706313#M1070035</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-09-04T09:31:48Z</dc:date>
    </item>
  </channel>
</rss>

