<?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 DROP TABLES WITH A REGULAR EXPRESSION in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282198#M1201721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simple answer is no. Tables must be explicitly listed and there's no support for regular expressions.&lt;/P&gt;&lt;P&gt;But if your actual testing can be done with a wildmatch(), you could handle it by looping through all the tables, like so:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;FOR i=nooftables()-1 TO 0 STEP -1&lt;BR /&gt; LET vTable=tablename(i);&lt;BR /&gt; IF wildmatch(vTable,'table*') THEN&lt;BR /&gt; DROP TABLE $(vTable);&lt;BR /&gt; END IF&lt;BR /&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Oct 2010 20:34:13 GMT</pubDate>
    <dc:creator>johnw</dc:creator>
    <dc:date>2010-10-18T20:34:13Z</dc:date>
    <item>
      <title>DROP TABLES WITH A REGULAR EXPRESSION</title>
      <link>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282195#M1201718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;Do you know if I can do something like this?&lt;/P&gt;&lt;P&gt;DROP TABLE table*;&lt;/P&gt;&lt;P&gt;If I had a lot of tables like 'table1', 'table2',....'table300' and I´d like to dropt it, could be an easy way to delete all the tables.&lt;/P&gt;&lt;P&gt;I know that I can make a For..Next to delete all the tables, but I dont know if I can use regular expressions.&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 12:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282195#M1201718</guid>
      <dc:creator />
      <dc:date>2010-10-13T12:21:53Z</dc:date>
    </item>
    <item>
      <title>DROP TABLES WITH A REGULAR EXPRESSION</title>
      <link>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282196#M1201719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know it's an irritating answer, but: why?&lt;/P&gt;&lt;P&gt;I mean, if you have numbered tables containing similar values, why you do not load them in a single, common table instead of loading them separatedly?&lt;/P&gt;&lt;P&gt;Probably I'm missing something.&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 11:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282196#M1201719</guid>
      <dc:creator />
      <dc:date>2010-10-18T11:08:15Z</dc:date>
    </item>
    <item>
      <title>DROP TABLES WITH A REGULAR EXPRESSION</title>
      <link>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282197#M1201720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi chisea80,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is not about how to load tables with similar values.&lt;/P&gt;&lt;P&gt;My question is about if I can use a regular expression to &lt;B&gt;delete some tables at the same time&lt;/B&gt;, this tables could be similar or not it doesn´t matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 16:27:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282197#M1201720</guid>
      <dc:creator />
      <dc:date>2010-10-18T16:27:31Z</dc:date>
    </item>
    <item>
      <title>DROP TABLES WITH A REGULAR EXPRESSION</title>
      <link>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282198#M1201721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The simple answer is no. Tables must be explicitly listed and there's no support for regular expressions.&lt;/P&gt;&lt;P&gt;But if your actual testing can be done with a wildmatch(), you could handle it by looping through all the tables, like so:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;FOR i=nooftables()-1 TO 0 STEP -1&lt;BR /&gt; LET vTable=tablename(i);&lt;BR /&gt; IF wildmatch(vTable,'table*') THEN&lt;BR /&gt; DROP TABLE $(vTable);&lt;BR /&gt; END IF&lt;BR /&gt;NEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 20:34:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282198#M1201721</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-10-18T20:34:13Z</dc:date>
    </item>
    <item>
      <title>DROP TABLES WITH A REGULAR EXPRESSION</title>
      <link>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282199#M1201722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 09:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/DROP-TABLES-WITH-A-REGULAR-EXPRESSION/m-p/282199#M1201722</guid>
      <dc:creator />
      <dc:date>2010-10-19T09:51:57Z</dc:date>
    </item>
  </channel>
</rss>

