<?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: Large data insert and update in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Large-data-insert-and-update/m-p/1326668#M618097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Believe, that the error is produced by your ODBC-connector, have you been able to identify, where this error incurred (fieldname, content, length, special characters .....).&lt;/P&gt;&lt;P&gt;Incremental load might be done with a script like:&lt;/P&gt;&lt;P&gt;ExistingData:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD key, ... FROM MyData.QVD (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewData:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCATENATE (ExistingData) LOAD key, ..... FROM ..... WHERE NOT EXISTS(key);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE NewData INTO MyData.QVD (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 May 2017 09:26:57 GMT</pubDate>
    <dc:creator>prieper</dc:creator>
    <dc:date>2017-05-24T09:26:57Z</dc:date>
    <item>
      <title>Large data insert and update</title>
      <link>https://community.qlik.com/t5/QlikView/Large-data-insert-and-update/m-p/1326667#M618096</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;I am working on one account where data is large.The task scheduled to pull data for the module is also for every 10 mins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Whenever I have to pull older records I have to divide the intervals so that I will not get the error &lt;SPAN style="; color: #ff0000;"&gt;&lt;STRONG&gt;"&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Field length:100494 exceeds maximum limit of 65535.[10232]&lt;/SPAN&gt;"&lt;/STRONG&gt;&lt;/SPAN&gt; and it takes a lot of time to fetch data even for a month or some days.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12pt;"&gt;I am using the a&lt;/STRONG&gt;&lt;STRONG style="font-size: 12pt;"&gt;ttached qvw for pulling the same (for reference).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 12pt; text-decoration: underline;"&gt;&lt;STRONG&gt;Also,I use the following script for incremental load:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;===========================================================================================&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ffcc00;"&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;M&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="; color: #339966;"&gt;&lt;STRONG&gt;axModifiedDate:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Timestamp(max(sys_updated_on),'YYYY-MM-DD hh:mm:ss') as Max_ModifiedDateTime&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;[..\Raw Data\Incident.qvd]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;(qvd);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 10pt;"&gt;&lt;STRONG&gt;LET vMaxModifiedDate= peek('Max_ModifiedDateTime');&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 10pt;"&gt;&lt;STRONG&gt;INCREMENTAL:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;SQL SELECT *&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;FROM "SCHEMA".OAUSER."incident" where sys_updated_on &amp;gt;='$(vMaxModifiedDate)';&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 10pt;"&gt;&lt;STRONG&gt;Concatenate&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;LOAD&amp;nbsp; *&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;[..\Raw Data\Incident.qvd]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;(qvd) where not exists(number);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 10pt;"&gt;&lt;STRONG&gt;Store INCREMENTAL into [..\Raw Data\Incident.qvd](qvd);&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 10pt;"&gt;&lt;STRONG&gt;==================================================================================================&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG style=": ; color: #993366; font-size: 14pt; text-decoration: underline;"&gt;I have 2 requirements:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;First:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG&gt;Many a times ,I see the task failed error even after pulling for 10 mins because of the field length exceed error.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003300; font-size: 10pt;"&gt;Can anybody tell me if there is any way I can merge the logic of data pull(as in attached qvw) in the script written above to avoid field length exceed error?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003300; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG style="color: #003300; font-size: 13.3333px; text-decoration: underline;"&gt;Second:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG style="color: #003300; font-size: 13.3333px;"&gt;Is there any script that I can use for insertion and updation of records while merging new QVD with older QVD as mine shows running for a long time?&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG style="color: #003300; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #003300;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #003300;"&gt;&lt;STRONG&gt;Please suggest.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #003300;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #003300; font-size: 10pt;"&gt;&lt;STRONG&gt;Hope you understand what I am looking for?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 09:13:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Large-data-insert-and-update/m-p/1326667#M618096</guid>
      <dc:creator>anjali0108</dc:creator>
      <dc:date>2017-05-24T09:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Large data insert and update</title>
      <link>https://community.qlik.com/t5/QlikView/Large-data-insert-and-update/m-p/1326668#M618097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Believe, that the error is produced by your ODBC-connector, have you been able to identify, where this error incurred (fieldname, content, length, special characters .....).&lt;/P&gt;&lt;P&gt;Incremental load might be done with a script like:&lt;/P&gt;&lt;P&gt;ExistingData:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD key, ... FROM MyData.QVD (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewData:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CONCATENATE (ExistingData) LOAD key, ..... FROM ..... WHERE NOT EXISTS(key);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE NewData INTO MyData.QVD (QVD);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 May 2017 09:26:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Large-data-insert-and-update/m-p/1326668#M618097</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-05-24T09:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Large data insert and update</title>
      <link>https://community.qlik.com/t5/QlikView/Large-data-insert-and-update/m-p/1326669#M618098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please find the below URL to do the incremental load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/" title="https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/"&gt;https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 09:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Large-data-insert-and-update/m-p/1326669#M618098</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2017-05-26T09:57:17Z</dc:date>
    </item>
  </channel>
</rss>

