<?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 Is my script written in the most efficient way? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Is-my-script-written-in-the-most-efficient-way/m-p/1190205#M883481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running a script in qlikview via an ODBC connection.&amp;nbsp; However, when the script runs, it sometimes ends up in a loop and never finishes.&amp;nbsp; I then have to try and rerun the script and it may or may not run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know if this is the most efficient way to write the script, or if there are any pitfalls I should be avoiding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CallType, ContactType, ContactUnique, CreatingUser, CreationDate, DiaryDate, DiaryEntryType,&amp;nbsp; LinkingKeyValue,&amp;nbsp; SiteUnique, Subject, UniqueID,&amp;nbsp; 'Database8' AS Database&lt;/P&gt;&lt;P&gt;WHERE Date(CreationDate,'DD/MM/YYYY') &amp;gt;= Today()-90 AND Date(CreationDate,'DD/MM/YYYY') &amp;lt;= Today()-84 ;&lt;/P&gt;&lt;P&gt;SQL SELECT CallType, ContactType, ContactUnique, CreatingUser, CreationDate, DiaryDate, DiaryEntryType, LinkingKeyValue, SiteUnique, Subject, UniqueID FROM JOURNAL0008;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Is my script written in the most efficient way?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-my-script-written-in-the-most-efficient-way/m-p/1190205#M883481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am running a script in qlikview via an ODBC connection.&amp;nbsp; However, when the script runs, it sometimes ends up in a loop and never finishes.&amp;nbsp; I then have to try and rerun the script and it may or may not run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please let me know if this is the most efficient way to write the script, or if there are any pitfalls I should be avoiding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD CallType, ContactType, ContactUnique, CreatingUser, CreationDate, DiaryDate, DiaryEntryType,&amp;nbsp; LinkingKeyValue,&amp;nbsp; SiteUnique, Subject, UniqueID,&amp;nbsp; 'Database8' AS Database&lt;/P&gt;&lt;P&gt;WHERE Date(CreationDate,'DD/MM/YYYY') &amp;gt;= Today()-90 AND Date(CreationDate,'DD/MM/YYYY') &amp;lt;= Today()-84 ;&lt;/P&gt;&lt;P&gt;SQL SELECT CallType, ContactType, ContactUnique, CreatingUser, CreationDate, DiaryDate, DiaryEntryType, LinkingKeyValue, SiteUnique, Subject, UniqueID FROM JOURNAL0008;&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/Is-my-script-written-in-the-most-efficient-way/m-p/1190205#M883481</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is my script written in the most efficient way?</title>
      <link>https://community.qlik.com/t5/QlikView/Is-my-script-written-in-the-most-efficient-way/m-p/1190206#M883482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See our responses here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/233733"&gt;Is there a better way to right this script?&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 17:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Is-my-script-written-in-the-most-efficient-way/m-p/1190206#M883482</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-22T17:12:42Z</dc:date>
    </item>
  </channel>
</rss>

