<?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 Incremental Load, Max(id) not loading and creation of Syn Table. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1955222#M78775</link>
    <description>&lt;P&gt;Hi, i'm trying to implement incremental load for a few table in a Database, i'm 99% of the way there but there is still a few issue:&lt;BR /&gt;&lt;BR /&gt;First of all, both my tables MaxValueTasks and MaxValueLogs only work half the times. Sometimes they will work properly and IncrementalLogs and Incrementasks will only load the new/changed data, sometimes they won't load anything from my qvd files, and everything will get loaded from the DataBase for&amp;nbsp;IncrementalLogs and Incrementasks.&lt;BR /&gt;&lt;BR /&gt;Second of all, since i can't use Qualify *; for this incremental load (doesn't recognise the variables names after the creation of the 1st qvd file) i'm trying to rename the fields i use to prevent the creation of Syn Tables, but one table is still created there (id+date_mod).&lt;BR /&gt;&lt;BR /&gt;Here is my code :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;let Logsize = FileSize('lib://FileQVD\IncrementalLogs.qvd');&lt;BR /&gt;let Tasksize = FileSize('lib://FileQVD\IncrementalTasks.qvd');&lt;/P&gt;
&lt;P&gt;Let ThisExecTime = Now( );&lt;/P&gt;
&lt;P&gt;if not isnull(Tasksize) and not isnull(Logsize) then&lt;/P&gt;
&lt;P&gt;MaxValueTasks:&lt;BR /&gt;Load&lt;/P&gt;
&lt;P&gt;max (id) AS MaxTasks&lt;/P&gt;
&lt;P&gt;FROM [lib://FileQVD\IncrementalTasks.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Let ttMaxId = peek('MaxTasks',-1);&lt;/P&gt;
&lt;P&gt;drop table MaxValueTasks;&lt;/P&gt;
&lt;P&gt;MaxValueLogs:&lt;BR /&gt;Load&lt;/P&gt;
&lt;P&gt;max (id) AS MaxLogs&lt;/P&gt;
&lt;P&gt;FROM [lib://FileQVD\IncrementalLogs.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Let lMaxId = peek('MaxLogs',-1);&lt;/P&gt;
&lt;P&gt;drop table MaxValueLogs;&lt;/P&gt;
&lt;P&gt;IncrementalTasks :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;tickets_id, &lt;BR /&gt;date, &lt;BR /&gt;users_id, &lt;BR /&gt;actiontime, &lt;BR /&gt;date_mod FROM glpi_tickettasks&lt;BR /&gt;&lt;BR /&gt;WHERE date_mod BETWEEN '$(LastExecTime)' AND '$(ThisExecTime)' OR id &amp;gt; '$(ttMaxId)'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Concatenate LOAD [id] AS [ttid], &lt;BR /&gt;[tickets_id] AS [tatickets_id], &lt;BR /&gt;[date] AS [ttdate], &lt;BR /&gt;[users_id] AS [ttusers_id], &lt;BR /&gt;[actiontime] AS [ttactiontime], &lt;BR /&gt;[date_mod] AS [ttdate_mod]&lt;BR /&gt;FROM [lib://FileQVD\IncrementalTasks.qvd] (QVD)&lt;BR /&gt;where Not Exists(id)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Inner Join SQL SELECT id FROM glpi_tickettasks;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If ScriptErrorCount = 0 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;STORE IncrementalTasks INTO [lib://FileQVD\IncrementalTasks.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/P&gt;
&lt;P&gt;IncrementalLogs :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;itemtype, &lt;BR /&gt;items_id,&lt;BR /&gt;date_mod,&lt;BR /&gt;id_search_option, &lt;BR /&gt;old_value, &lt;BR /&gt;new_value FROM glpi_logs&lt;/P&gt;
&lt;P&gt;WHERE id &amp;gt; '$(lMaxId)'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Concatenate LOAD [id] AS [lid], &lt;BR /&gt;[itemtype] AS [litemtype], &lt;BR /&gt;[items_id] AS [litems_id],&lt;BR /&gt;[date_mod] AS [ldate_mod],&lt;BR /&gt;[id_search_option] AS [lid_search_option], &lt;BR /&gt;[old_value] AS [lold_value], &lt;BR /&gt;[new_value] AS [lnew_value]&lt;BR /&gt;FROM [lib://FileQVD\IncrementalLogs.qvd] (QVD)&lt;BR /&gt;where Not Exists(id)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Inner Join SQL SELECT id FROM glpi_logs;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If ScriptErrorCount = 0 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;STORE IncrementalLogs INTO [lib://FileQVD\IncrementalLogs.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Let LastExecTime = ThisExecTime;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/P&gt;
&lt;P&gt;Else &lt;BR /&gt;IncrementalLogs :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;itemtype, &lt;BR /&gt;items_id,&lt;BR /&gt;date_mod,&lt;BR /&gt;id_search_option, &lt;BR /&gt;old_value, &lt;BR /&gt;new_value FROM glpi_logs;&lt;BR /&gt;&lt;BR /&gt;STORE IncrementalLogs INTO [lib://FileQVD\IncrementalLogs.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;IncrementalTasks :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;tickets_id, &lt;BR /&gt;date, &lt;BR /&gt;users_id, &lt;BR /&gt;actiontime, &lt;BR /&gt;date_mod FROM glpi_tickettasks;&lt;BR /&gt;&lt;BR /&gt;STORE IncrementalTasks INTO [lib://FileQVD\IncrementalTasks.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;End if&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;My DataBase is in MariaDB. Hope someone can help.&lt;BR /&gt;&lt;BR /&gt;Have a good day.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jul 2022 15:29:00 GMT</pubDate>
    <dc:creator>TheKiwi</dc:creator>
    <dc:date>2022-07-13T15:29:00Z</dc:date>
    <item>
      <title>Incremental Load, Max(id) not loading and creation of Syn Table.</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1955222#M78775</link>
      <description>&lt;P&gt;Hi, i'm trying to implement incremental load for a few table in a Database, i'm 99% of the way there but there is still a few issue:&lt;BR /&gt;&lt;BR /&gt;First of all, both my tables MaxValueTasks and MaxValueLogs only work half the times. Sometimes they will work properly and IncrementalLogs and Incrementasks will only load the new/changed data, sometimes they won't load anything from my qvd files, and everything will get loaded from the DataBase for&amp;nbsp;IncrementalLogs and Incrementasks.&lt;BR /&gt;&lt;BR /&gt;Second of all, since i can't use Qualify *; for this incremental load (doesn't recognise the variables names after the creation of the 1st qvd file) i'm trying to rename the fields i use to prevent the creation of Syn Tables, but one table is still created there (id+date_mod).&lt;BR /&gt;&lt;BR /&gt;Here is my code :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;let Logsize = FileSize('lib://FileQVD\IncrementalLogs.qvd');&lt;BR /&gt;let Tasksize = FileSize('lib://FileQVD\IncrementalTasks.qvd');&lt;/P&gt;
&lt;P&gt;Let ThisExecTime = Now( );&lt;/P&gt;
&lt;P&gt;if not isnull(Tasksize) and not isnull(Logsize) then&lt;/P&gt;
&lt;P&gt;MaxValueTasks:&lt;BR /&gt;Load&lt;/P&gt;
&lt;P&gt;max (id) AS MaxTasks&lt;/P&gt;
&lt;P&gt;FROM [lib://FileQVD\IncrementalTasks.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Let ttMaxId = peek('MaxTasks',-1);&lt;/P&gt;
&lt;P&gt;drop table MaxValueTasks;&lt;/P&gt;
&lt;P&gt;MaxValueLogs:&lt;BR /&gt;Load&lt;/P&gt;
&lt;P&gt;max (id) AS MaxLogs&lt;/P&gt;
&lt;P&gt;FROM [lib://FileQVD\IncrementalLogs.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Let lMaxId = peek('MaxLogs',-1);&lt;/P&gt;
&lt;P&gt;drop table MaxValueLogs;&lt;/P&gt;
&lt;P&gt;IncrementalTasks :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;tickets_id, &lt;BR /&gt;date, &lt;BR /&gt;users_id, &lt;BR /&gt;actiontime, &lt;BR /&gt;date_mod FROM glpi_tickettasks&lt;BR /&gt;&lt;BR /&gt;WHERE date_mod BETWEEN '$(LastExecTime)' AND '$(ThisExecTime)' OR id &amp;gt; '$(ttMaxId)'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Concatenate LOAD [id] AS [ttid], &lt;BR /&gt;[tickets_id] AS [tatickets_id], &lt;BR /&gt;[date] AS [ttdate], &lt;BR /&gt;[users_id] AS [ttusers_id], &lt;BR /&gt;[actiontime] AS [ttactiontime], &lt;BR /&gt;[date_mod] AS [ttdate_mod]&lt;BR /&gt;FROM [lib://FileQVD\IncrementalTasks.qvd] (QVD)&lt;BR /&gt;where Not Exists(id)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Inner Join SQL SELECT id FROM glpi_tickettasks;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If ScriptErrorCount = 0 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;STORE IncrementalTasks INTO [lib://FileQVD\IncrementalTasks.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/P&gt;
&lt;P&gt;IncrementalLogs :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;itemtype, &lt;BR /&gt;items_id,&lt;BR /&gt;date_mod,&lt;BR /&gt;id_search_option, &lt;BR /&gt;old_value, &lt;BR /&gt;new_value FROM glpi_logs&lt;/P&gt;
&lt;P&gt;WHERE id &amp;gt; '$(lMaxId)'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Concatenate LOAD [id] AS [lid], &lt;BR /&gt;[itemtype] AS [litemtype], &lt;BR /&gt;[items_id] AS [litems_id],&lt;BR /&gt;[date_mod] AS [ldate_mod],&lt;BR /&gt;[id_search_option] AS [lid_search_option], &lt;BR /&gt;[old_value] AS [lold_value], &lt;BR /&gt;[new_value] AS [lnew_value]&lt;BR /&gt;FROM [lib://FileQVD\IncrementalLogs.qvd] (QVD)&lt;BR /&gt;where Not Exists(id)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Inner Join SQL SELECT id FROM glpi_logs;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;If ScriptErrorCount = 0 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;STORE IncrementalLogs INTO [lib://FileQVD\IncrementalLogs.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Let LastExecTime = ThisExecTime;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/P&gt;
&lt;P&gt;Else &lt;BR /&gt;IncrementalLogs :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;itemtype, &lt;BR /&gt;items_id,&lt;BR /&gt;date_mod,&lt;BR /&gt;id_search_option, &lt;BR /&gt;old_value, &lt;BR /&gt;new_value FROM glpi_logs;&lt;BR /&gt;&lt;BR /&gt;STORE IncrementalLogs INTO [lib://FileQVD\IncrementalLogs.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;IncrementalTasks :&lt;BR /&gt;SQL Select id, &lt;BR /&gt;tickets_id, &lt;BR /&gt;date, &lt;BR /&gt;users_id, &lt;BR /&gt;actiontime, &lt;BR /&gt;date_mod FROM glpi_tickettasks;&lt;BR /&gt;&lt;BR /&gt;STORE IncrementalTasks INTO [lib://FileQVD\IncrementalTasks.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;End if&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;My DataBase is in MariaDB. Hope someone can help.&lt;BR /&gt;&lt;BR /&gt;Have a good day.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jul 2022 15:29:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1955222#M78775</guid>
      <dc:creator>TheKiwi</dc:creator>
      <dc:date>2022-07-13T15:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load, Max(id) not loading and creation of Syn Table.</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1956819#M78899</link>
      <description>&lt;P&gt;Hi, if you load the id field from database, and concatenates from qvd loading id as ttid, when you do the inner join by id, it will remove all the rows loaded from qvd, as none will have the id field.&lt;/P&gt;
&lt;P&gt;I think you should make the rename of the fieds when loading from sql.&lt;/P&gt;
&lt;P&gt;I usually keep database names on incremental loads, wich is usually done of the first layer of qvds, and rename fields on the nexts layers of qvds.&lt;/P&gt;</description>
      <pubDate>Sun, 17 Jul 2022 17:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1956819#M78899</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-07-17T17:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load, Max(id) not loading and creation of Syn Table.</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1957082#M78918</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you, I tried that earlier but for some reason it works now. The only issue is that the Inner Join won't work now (it gets stuck trying to process the query). Probably because now the id field is renamed in the table. How should i rewrite the INNER JOIN query ?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;let Logsize = FileSize('lib://FileQVD\IncrementalLogs.qvd');&lt;BR /&gt;let Tasksize = FileSize('lib://FileQVD\IncrementalTasks.qvd');&lt;BR /&gt;Let ThisExecTime = Now( );&lt;/P&gt;
&lt;P&gt;if not isnull(Tasksize) and not isnull(Logsize) then&lt;/P&gt;
&lt;P&gt;MaxValueTasks:&lt;BR /&gt;Load&lt;/P&gt;
&lt;P&gt;Max(ttid) AS MaxTasks&lt;/P&gt;
&lt;P&gt;FROM [lib://FileQVD\IncrementalTasks.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Let ttMaxId = peek('MaxTasks',-1);&lt;/P&gt;
&lt;P&gt;drop table MaxValueTasks;&lt;/P&gt;
&lt;P&gt;MaxValueLogs:&lt;BR /&gt;Load&lt;/P&gt;
&lt;P&gt;Max(lid) AS MaxLogs&lt;/P&gt;
&lt;P&gt;FROM [lib://FileQVD\IncrementalLogs.qvd] (qvd);&lt;/P&gt;
&lt;P&gt;Let lMaxId = peek('MaxLogs',-1);&lt;/P&gt;
&lt;P&gt;drop table MaxValueLogs;&lt;/P&gt;
&lt;P&gt;IncrementalTasks :&lt;BR /&gt;LOAD [id] AS [ttid], &lt;BR /&gt;[tickets_id] AS [tatickets_id], &lt;BR /&gt;[date] AS [ttdate], &lt;BR /&gt;[users_id] AS [ttusers_id], &lt;BR /&gt;[actiontime] AS [ttactiontime], &lt;BR /&gt;[date_mod] AS [ttdate_mod];&lt;BR /&gt;SQL Select id, &lt;BR /&gt;tickets_id, &lt;BR /&gt;date, &lt;BR /&gt;users_id, &lt;BR /&gt;actiontime, &lt;BR /&gt;date_mod FROM glpi_tickettasks&lt;BR /&gt;&lt;BR /&gt;WHERE date_mod BETWEEN '$(LastExecTime)' AND '$(ThisExecTime)' OR id &amp;gt; '$(ttMaxId)'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Concatenate LOAD ttid, &lt;BR /&gt;tatickets_id, &lt;BR /&gt;ttdate, &lt;BR /&gt;ttusers_id, &lt;BR /&gt;ttactiontime, &lt;BR /&gt;ttdate_mod&lt;BR /&gt;FROM [lib://FileQVD\IncrementalTasks.qvd] (QVD)&lt;BR /&gt;where Not Exists(ttid)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Inner Join SQL SELECT id FROM glpi_tickettasks;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If ScriptErrorCount = 0 then&lt;/P&gt;
&lt;P&gt;STORE IncrementalTasks INTO [lib://FileQVD\IncrementalTasks.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;End If&lt;/P&gt;
&lt;P&gt;IncrementalLogs :&lt;BR /&gt;LOAD [id] AS [lid], &lt;BR /&gt;[itemtype] AS [litemtype], &lt;BR /&gt;[items_id] AS [litems_id],&lt;BR /&gt;[date_mod] AS [ldate_mod],&lt;BR /&gt;[id_search_option] AS [lid_search_option], &lt;BR /&gt;[old_value] AS [lold_value], &lt;BR /&gt;[new_value] AS [lnew_value];&lt;BR /&gt;SQL Select id, &lt;BR /&gt;itemtype, &lt;BR /&gt;items_id,&lt;BR /&gt;date_mod,&lt;BR /&gt;id_search_option, &lt;BR /&gt;old_value, &lt;BR /&gt;new_value FROM glpi_logs&lt;/P&gt;
&lt;P&gt;WHERE id &amp;gt; '$(lMaxId)'&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Concatenate LOAD lid, &lt;BR /&gt;litemtype, &lt;BR /&gt;litems_id,&lt;BR /&gt;ldate_mod,&lt;BR /&gt;lid_search_option, &lt;BR /&gt;lold_value, &lt;BR /&gt;lnew_value&lt;BR /&gt;FROM [lib://FileQVD\IncrementalLogs.qvd] (QVD)&lt;BR /&gt;where Not Exists(lid)&lt;BR /&gt;;&lt;/P&gt;
&lt;P&gt;Inner Join SQL SELECT id FROM glpi_logs;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If ScriptErrorCount = 0 then&lt;/P&gt;
&lt;P&gt;STORE IncrementalLogs INTO [lib://FileQVD\IncrementalLogs.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;Let LastExecTime = ThisExecTime;&lt;/P&gt;
&lt;P&gt;End If&lt;BR /&gt;Else &lt;BR /&gt;IncrementalLogs :&lt;BR /&gt;LOAD [id] AS [lid], &lt;BR /&gt;[itemtype] AS [litemtype], &lt;BR /&gt;[items_id] AS [litems_id],&lt;BR /&gt;[date_mod] AS [ldate_mod],&lt;BR /&gt;[id_search_option] AS [lid_search_option], &lt;BR /&gt;[old_value] AS [lold_value], &lt;BR /&gt;[new_value] AS [lnew_value];&lt;BR /&gt;SQL Select id, &lt;BR /&gt;itemtype, &lt;BR /&gt;items_id,&lt;BR /&gt;date_mod,&lt;BR /&gt;id_search_option, &lt;BR /&gt;old_value, &lt;BR /&gt;new_value FROM glpi_logs;&lt;BR /&gt;&lt;BR /&gt;STORE IncrementalLogs INTO [lib://FileQVD\IncrementalLogs.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;IncrementalTasks :&lt;BR /&gt;LOAD [id] AS [ttid], &lt;BR /&gt;[tickets_id] AS [tatickets_id], &lt;BR /&gt;[date] AS [ttdate], &lt;BR /&gt;[users_id] AS [ttusers_id], &lt;BR /&gt;[actiontime] AS [ttactiontime], &lt;BR /&gt;[date_mod] AS [ttdate_mod];&lt;BR /&gt;SQL Select id, &lt;BR /&gt;tickets_id, &lt;BR /&gt;date, &lt;BR /&gt;users_id, &lt;BR /&gt;actiontime, &lt;BR /&gt;date_mod FROM glpi_tickettasks;&lt;BR /&gt;&lt;BR /&gt;STORE IncrementalTasks INTO [lib://FileQVD\IncrementalTasks.qvd] (QVD);&lt;/P&gt;
&lt;P&gt;End if&lt;BR /&gt;&lt;BR /&gt;I tried doing this :&amp;nbsp;&lt;BR /&gt;SQL SELECT id FROM glpi_tickettasks &lt;BR /&gt;Inner Join [IncrementalTasks] where id = ttid;&lt;BR /&gt;&lt;BR /&gt;But I get an error ( or it thinks IncrementalTasks is a table in my db without both []).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 12:31:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1957082#M78918</guid>
      <dc:creator>TheKiwi</dc:creator>
      <dc:date>2022-07-18T12:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load, Max(id) not loading and creation of Syn Table.</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1957086#M78919</link>
      <description>&lt;P&gt;Hi, it should be renamed to match the field names loaded in the table, in example, instead of&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Inner Join SQL SELECT id FROM glpi_tickettasks;&lt;/LI-CODE&gt;
&lt;P&gt;Use&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Inner Join
LOAD id as ttid;
SQL SELECT id FROM glpi_tickettasks;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 12:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1957086#M78919</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2022-07-18T12:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Incremental Load, Max(id) not loading and creation of Syn Table.</title>
      <link>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1957090#M78920</link>
      <description>&lt;P&gt;Thank you so much ! I will need to verify if the data is correct but everything is working properly !&lt;BR /&gt;&lt;BR /&gt;Have a good day !&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 12:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Incremental-Load-Max-id-not-loading-and-creation-of-Syn-Table/m-p/1957090#M78920</guid>
      <dc:creator>TheKiwi</dc:creator>
      <dc:date>2022-07-18T12:41:02Z</dc:date>
    </item>
  </channel>
</rss>

