<?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: How do I drop all tables after a Binary Load? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1348001#M824391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing to be aware of is the subtle distinction between &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE X, Y, Z;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE X;&lt;/P&gt;&lt;P&gt;DROP TABLE Y;&lt;/P&gt;&lt;P&gt;DROP TABLE Z;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one above on a single line is more efficient.&amp;nbsp; Should only be applicable/noticeable for very large data models, but something to be aware of. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Jul 2017 10:37:50 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-07-21T10:37:50Z</dc:date>
    <item>
      <title>How do I drop all tables after a Binary Load?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1347998#M824387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am creating a small txt file from a huge binary model file and I wish to drop all the information of the binary after the txt is generated, so my application has a manageable size.&lt;/STRONG&gt; Right now I can't improve the model to make it smaller.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sample code is the next one (the Set section was ommitted for the sake of clarity):&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/170916_Capture1.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1347998#M824387</guid>
      <dc:creator>julioarriaga</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I drop all tables after a Binary Load?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1347999#M824389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julio&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can drop your tables only using the DROP TABLE function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After load binary and create your txt, put&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop table TableName1,TableName2,TableNamexxxx;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 23:21:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1347999#M824389</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2017-07-20T23:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I drop all tables after a Binary Load?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1348000#M824390</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;A dynamic way to drop all tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let myvar = NoOfTables() ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Returns the number of tables previously loaded. &lt;/P&gt;&lt;P&gt;FOR x=0 to myvar&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not isnull(TableName( 0 )) then&lt;/P&gt;&lt;P&gt;Let locTable = TableName( 0 ) ;&lt;/P&gt;&lt;P&gt; drop table $(locTable);&lt;/P&gt;&lt;P&gt;end if&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; next ;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 09:09:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1348000#M824390</guid>
      <dc:creator>mikeqlikcloud</dc:creator>
      <dc:date>2017-07-21T09:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I drop all tables after a Binary Load?</title>
      <link>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1348001#M824391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing to be aware of is the subtle distinction between &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE X, Y, Z;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vs &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE X;&lt;/P&gt;&lt;P&gt;DROP TABLE Y;&lt;/P&gt;&lt;P&gt;DROP TABLE Z;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first one above on a single line is more efficient.&amp;nbsp; Should only be applicable/noticeable for very large data models, but something to be aware of. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Jul 2017 10:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-do-I-drop-all-tables-after-a-Binary-Load/m-p/1348001#M824391</guid>
      <dc:creator />
      <dc:date>2017-07-21T10:37:50Z</dc:date>
    </item>
  </channel>
</rss>

