<?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 About delete in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/About-delete/m-p/218451#M71567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;During the execution of script the number of statements caused error will be retured by this statement. You are able to find this when you will open your Qv log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Dec 2010 07:11:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-12-09T07:11:03Z</dc:date>
    <item>
      <title>About delete</title>
      <link>https://community.qlik.com/t5/QlikView/About-delete/m-p/218447#M71563</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;The following code is from help about deleting records. But why do we use "If ScriptErrorCount = 0 then " clause, what's the meaning of it?&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;Let ThisExecTime = Now( );&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;QV_Table:&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;SQL SELECT PrimaryKey, X, Y FROM DB_TABLE&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;WHERE ModificationTime &amp;gt;= #$(LastExecTime)#&lt;/P&gt;&lt;P style="margin-left: 80px; font-weight: bold;"&gt;AND ModificationTime &amp;lt; #$(ThisExecTime)#;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;Concatenate LOAD PrimaryKey, X, Y FROM File.QVD&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;WHERE NOT EXISTS(PrimaryKey);&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;Inner Join SQL SELECT PrimaryKey FROM DB_TABLE;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;If ScriptErrorCount = 0 then&lt;/P&gt;&lt;P style="margin-left: 80px; font-weight: bold;"&gt;STORE QV_Table INTO File.QVD;&lt;/P&gt;&lt;P style="margin-left: 80px; font-weight: bold;"&gt;Let LastExecTime = ThisExecTime;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;End If&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-left: 40px; font-weight: bold;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 04:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-delete/m-p/218447#M71563</guid>
      <dc:creator />
      <dc:date>2010-12-09T04:17:09Z</dc:date>
    </item>
    <item>
      <title>About delete</title>
      <link>https://community.qlik.com/t5/QlikView/About-delete/m-p/218448#M71564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The meaning is that all the SQL and LOAD statements above were successfully executed with no errors. You don't want to override a "good" QVD file with potentially "Bad" data if something went wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 06:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-delete/m-p/218448#M71564</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-12-09T06:58:08Z</dc:date>
    </item>
    <item>
      <title>About delete</title>
      <link>https://community.qlik.com/t5/QlikView/About-delete/m-p/218449#M71565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply, does it mean we should always use this clause before overriding the QVD?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Isaac Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 07:03:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-delete/m-p/218449#M71565</guid>
      <dc:creator />
      <dc:date>2010-12-09T07:03:48Z</dc:date>
    </item>
    <item>
      <title>About delete</title>
      <link>https://community.qlik.com/t5/QlikView/About-delete/m-p/218450#M71566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if everyone is always using it, but it does look like a good practice, especially if SQL or ODBC errors are frequent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 07:05:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-delete/m-p/218450#M71566</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2010-12-09T07:05:53Z</dc:date>
    </item>
    <item>
      <title>About delete</title>
      <link>https://community.qlik.com/t5/QlikView/About-delete/m-p/218451#M71567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;During the execution of script the number of statements caused error will be retured by this statement. You are able to find this when you will open your Qv log file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Dec 2010 07:11:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/About-delete/m-p/218451#M71567</guid>
      <dc:creator />
      <dc:date>2010-12-09T07:11:03Z</dc:date>
    </item>
  </channel>
</rss>

