<?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 delete the qvd file. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451550#M168491</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be double quotes missed for your path&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Aug 2017 17:23:51 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-08-09T17:23:51Z</dc:date>
    <item>
      <title>How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451542#M168483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to use QV script to delete the QVD file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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, 13 May 2013 05:37:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451542#M168483</guid>
      <dc:creator />
      <dc:date>2013-05-13T05:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451543#M168484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess, you have to use Macro for it . . .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 05:40:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451543#M168484</guid>
      <dc:creator>prasad_dumbre</dc:creator>
      <dc:date>2013-05-13T05:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451544#M168485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, consider that a STORE statement will overwrite the existing QVD file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To specifcally delete the qvd file, try an EXECUTE script statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE CMD.EXE /C del "myqvd.qvd";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://robwunderlich.com"&gt;http://robwunderlich.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 06:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451544#M168485</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2013-05-13T06:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451545#M168486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Rob!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is throwing secutiry alert as we didn't set the EXECUTE flag for script for not been set. Could you please help me out to set the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:20:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451545#M168486</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2014-01-08T13:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451546#M168487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to allow Script (Allow Database Write and Execute Statements) in User Preferences/Security tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 13:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451546#M168487</guid>
      <dc:creator />
      <dc:date>2014-01-08T13:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451547#M168488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open the QVW file -&amp;gt; Settings -&amp;gt; User Preferencs -&amp;gt; Security -&amp;gt; Check Script (Allow Database Write and Execute Statements) . Click OK and apply. Save the Document. then it won't prompt security message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 16:08:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451547#M168488</guid>
      <dc:creator>psankepalli</dc:creator>
      <dc:date>2015-06-25T16:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451548#M168489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/929/qliktip-30/"&gt;Stefan Walther has a great discussion about it here&lt;/A&gt; ; he reviews three techniques. &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;OL style="margin: 0 0 18px 2.5em; font-size: 14px; background: #ffffff; list-style-position: initial; list-style-image: initial; font-family: Calibri, Verdana; color: #333333;"&gt;
&lt;LI&gt;Delete the files with a macro called from the load script&lt;/LI&gt;
&lt;LI&gt;Delete the files by executing a batch statement&lt;/LI&gt;
&lt;LI&gt;Use a pure load-script statement without giving your script system-access and empty the QVD-files within your load-statement&lt;/LI&gt;
&lt;/OL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice other answers here have already addressed &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;technique 2 (Rob's answer; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EXECUTE CMD.EXE /C del "myqvd.qvd";), &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;technique 1; (Prasad's answer; use a Macro (more specifically by creating a Scripting.FileSystemObject with the &lt;A href="https://www.google.com/search?sclient=psy-ab&amp;amp;btnG=Search&amp;amp;q=vbscript+createobject"&gt;CreateObject function)&lt;/A&gt; &lt;CODE class="keyword" style="margin: 0 !important; padding: 0 !important; font-size: 0.99em !important; background-position: initial !important; font-weight: bold !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; color: #006699 !important;"&gt;Set&lt;/CODE&gt;&lt;SPAN style="color: #000000; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-size: 13.0489px;"&gt; &lt;/SPAN&gt;&lt;CODE class="plain" style="color: #000000; margin: 0 !important; padding: 0 !important; font-size: 0.99em !important; background-position: initial !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;"&gt;objFSO = CreateObject(&lt;/CODE&gt;&lt;CODE class="string" style="margin: 0 !important; padding: 0 !important; font-size: 0.99em !important; background-position: initial !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; color: blue !important;"&gt;"Scripting.FileSystemObject"&lt;/CODE&gt;&lt;CODE class="plain" style="color: #000000; margin: 0 !important; padding: 0 !important; font-size: 0.99em !important; background-position: initial !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;"&gt;) )&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&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; font-size: 13px;"&gt;&lt;CODE class="plain" style="color: #000000; margin: 0 !important; padding: 0 !important; font-size: 0.99em !important; background-position: initial !important; font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;"&gt;But Stefan prefers the 3rd technique.&lt;/CODE&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; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Remember as Sean and Prasanna say, you may need to change security settings:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Macro_SecurityLevel_SystemAccess.png" class="jive-image image-1" src="http://www.qlikblog.at/wp-content/uploads/2011/02/Macro_SecurityLevel_SystemAccess.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 May 2017 16:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451548#M168489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-17T16:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451549#M168490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I updated my security settings and wrote my execute statement.&amp;nbsp; It still throws this message and makes me click Override.&amp;nbsp; The script finishes but doesn't delete the file.&amp;nbsp; What am I missing? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;EXECUTE&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; CMD.EXE /c del c:\QlikView\Scorecard\Premium Fact\PremFact.qvd &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;IMG border="0" class="jive-image image-1" height="331" src="https://community.qlik.com/legacyfs/online/172975_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" width="309" /&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/172976_pastedImage_1.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/172977_pastedImage_2.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:21:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451549#M168490</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2017-08-09T17:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451550#M168491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be double quotes missed for your path&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451550#M168491</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-09T17:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451551#M168492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DUR!&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:29:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451551#M168492</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2017-08-09T17:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451552#M168493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any way to get rid of the Security Alert window?&amp;nbsp; I already changed my user settings closed the app and reopened.&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/172978_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:39:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451552#M168493</guid>
      <dc:creator>carlcimino</dc:creator>
      <dc:date>2017-08-09T17:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451553#M168494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And check from script bottom preview there also you need to enable the option&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 17:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451553#M168494</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-09T17:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451554#M168495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the script below to empty a QVD file. This works efficiently even for large QVDs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub EmptyQvd(qvdFilePath)&lt;/P&gt;&lt;P&gt;TRACE --;&lt;/P&gt;&lt;P&gt;TRACE Start EmptyQvd for file $(qvdFilePath);&lt;/P&gt;&lt;P&gt;// First check if the qvd-file exists&lt;/P&gt;&lt;P&gt;if (not IsNull(QvdCreateTime(qvdFilePath))) then&lt;/P&gt;&lt;P&gt;TRACE ... file exists ...;&lt;/P&gt;&lt;P&gt;// Check if the Qvd-file contains more than 0 records&lt;/P&gt;&lt;P&gt;if(QvdNoOfRecords(qvdFilePath) &amp;gt; 0) then&lt;/P&gt;&lt;P&gt;tmp_qvd_table:&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;load *&lt;/P&gt;&lt;P&gt;where 1=2;&lt;/P&gt;&lt;P&gt;first 1&lt;/P&gt;&lt;P&gt;load * &lt;/P&gt;&lt;P&gt;from [$(qvdFilePath)](qvd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;store tmp_qvd_table into [$(qvdFilePath)](qvd);&lt;/P&gt;&lt;P&gt;Drop table tmp_qvd_table;&lt;/P&gt;&lt;P&gt;end if ;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;TRACE ... file '$(qvdFilePath)' does not exist;&lt;/P&gt;&lt;P&gt;end if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRACE finished EmptyQvd;&lt;/P&gt;&lt;P&gt;TRACE --;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2018 08:00:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451554#M168495</guid>
      <dc:creator>denniste</dc:creator>
      <dc:date>2018-04-26T08:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: How delete the qvd file.</title>
      <link>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451555#M168496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there any way to delete the Qvd without using a macro or a Bacth job in windows...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we know that we can empty the Qvd in the script without using a Macro or Batch job in windows, but we are looking for an option to delete the full Qvd... ???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know if any such option is there.... thanks much !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2018 16:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-delete-the-qvd-file/m-p/451555#M168496</guid>
      <dc:creator>dhasharadh</dc:creator>
      <dc:date>2018-10-31T16:02:16Z</dc:date>
    </item>
  </channel>
</rss>

