<?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: qlikview script: Drop all tables where table name like '%%' ? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821610#M289629</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Not('$(vTabNam)' Like 'C_D_*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'$(vTabNam)',1,4) &amp;lt;&amp;gt; 'C_D_'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Nov 2014 12:50:53 GMT</pubDate>
    <dc:creator>anbu1984</dc:creator>
    <dc:date>2014-11-26T12:50:53Z</dc:date>
    <item>
      <title>qlikview script: Drop all tables where table name like '%%' ?</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821607#M289626</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 a script which is generating the dimension tables dynamically so we are not sure what are the tables names going to be. We just know that the table names are going to be started with C_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if at the end of script, there is someway to dynamically get the names of all the tables that start with C_ and then drop them all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 09:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821607#M289626</guid>
      <dc:creator />
      <dc:date>2014-11-26T09:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview script: Drop all tables where table name like '%%' ?</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821608#M289627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FOR i = 0 to NoOfTables() &lt;/P&gt;&lt;P&gt;LET vTabNam = TableName($(i)); &lt;/P&gt;&lt;P&gt;TRACE '$(vTabNam)'; &lt;/P&gt;&lt;P&gt;If '$(vTabNam)' Like 'C_*' Then &lt;/P&gt;&lt;P&gt;Drop Tables '$(vTabNam)'&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;ENDIF;&lt;/P&gt;&lt;P&gt;NEXT i&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 10:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821608#M289627</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-26T10:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview script: Drop all tables where table name like '%%' ?</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821609#M289628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anbu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works..thanks. One more question though, If I wanted to add another condition to make it like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If '$(vTabNam)' Like 'C_*' and '$(vTabNam)' not Like 'C_D_*' then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I do that in Qlikview? I guess there is no NOT LIKE operator in Qlikview so what would be the alternative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 12:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821609#M289628</guid>
      <dc:creator />
      <dc:date>2014-11-26T12:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview script: Drop all tables where table name like '%%' ?</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821610#M289629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Not('$(vTabNam)' Like 'C_D_*')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; 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-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Left(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'$(vTabNam)',1,4) &amp;lt;&amp;gt; 'C_D_'&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 12:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821610#M289629</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-11-26T12:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: qlikview script: Drop all tables where table name like '%%' ?</title>
      <link>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821611#M289630</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;Try like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;not&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; ('$(vTabNam)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'C_D*' ) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; '$(vTabNam)' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;like&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; 'C_*' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;Drop&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Tables&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; '$(vTabNam)' ;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;ENDIF&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG style="color: #0000ff; font-size: 8pt;"&gt;NEXT&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;i&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 13:10:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/qlikview-script-Drop-all-tables-where-table-name-like/m-p/821611#M289630</guid>
      <dc:creator>perumal_41</dc:creator>
      <dc:date>2014-11-26T13:10:27Z</dc:date>
    </item>
  </channel>
</rss>

