<?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: Script to get all tables from a single database in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Script-to-get-all-tables-from-a-single-database/m-p/306479#M1187425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you click the Select button, you see a DB dialogbox. Select your tables and click on add.&lt;/P&gt;&lt;P&gt;When you have added all, finish it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to use the file attached. The autor of the file is not me. I downloaded from this community. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Aug 2011 12:52:27 GMT</pubDate>
    <dc:creator>christian77</dc:creator>
    <dc:date>2011-08-29T12:52:27Z</dc:date>
    <item>
      <title>Script to get all tables from a single database</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-get-all-tables-from-a-single-database/m-p/306478#M1187424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In my database, there are 90 tables. I need all those tables into my qlikview.&lt;/P&gt;&lt;P&gt;Can anyone tel me how to write script with '&lt;STRONG&gt;for each'&lt;/STRONG&gt; statement ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regads,&lt;/P&gt;&lt;P&gt;Guru &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 12:33:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-get-all-tables-from-a-single-database/m-p/306478#M1187424</guid>
      <dc:creator />
      <dc:date>2011-08-29T12:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Script to get all tables from a single database</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-get-all-tables-from-a-single-database/m-p/306479#M1187425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you click the Select button, you see a DB dialogbox. Select your tables and click on add.&lt;/P&gt;&lt;P&gt;When you have added all, finish it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may want to use the file attached. The autor of the file is not me. I downloaded from this community. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 12:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-get-all-tables-from-a-single-database/m-p/306479#M1187425</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2011-08-29T12:52:27Z</dc:date>
    </item>
    <item>
      <title>Script to get all tables from a single database</title>
      <link>https://community.qlik.com/t5/QlikView/Script-to-get-all-tables-from-a-single-database/m-p/306480#M1187426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hello Guru,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONNECT TO your database&lt;/P&gt;&lt;P&gt;T2:&lt;BR /&gt;SQLTables; //read database information&lt;BR /&gt;T1: load chr(39)&amp;amp;concat(TABLE_NAME,chr(39)&amp;amp;', '&amp;amp;chr(39))&amp;amp;chr(39) as tabs resident&amp;nbsp; T2 where TABLE_TYPE='TABLE';&lt;BR /&gt;let tabs=peek('tabs',0,'T1'); // only load tables&lt;/P&gt;&lt;P&gt;for each tab in $(tabs)&lt;BR /&gt;sql select * from $(tab);&lt;BR /&gt;next&amp;nbsp; //select all fields from all tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe use a qualify?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:06:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Script-to-get-all-tables-from-a-single-database/m-p/306480#M1187426</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2011-08-29T13:06:47Z</dc:date>
    </item>
  </channel>
</rss>

