<?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 Add modified date to table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Add-modified-date-to-table/m-p/2375310#M137753</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm extracting source data from mySQL and loading it into our target MSSQL database. I'd like to add a modified date to the target table that only updates when at least one of the fields have changed. What is the best approach to do this?&lt;BR /&gt;Options I can see could be:-&lt;BR /&gt;[list=1]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Use the tMSSqlSCD component&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Add an outer join between the source and the target using tMap. Then create two outputs; one for inserts based on&amp;nbsp;whether the row exists in target,&amp;nbsp;and one for updates based on whether any fields have changed&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Use database triggers in MSSQL&amp;nbsp;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Option 2 seems very long winded, and quite hard to maintain if I wanted to add fields at a later date.&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;I don't want to use 3 as the performance would be poor.&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any experiences or advice appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;b/&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 11:05:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:05:57Z</dc:date>
    <item>
      <title>Add modified date to table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-modified-date-to-table/m-p/2375310#M137753</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I'm extracting source data from mySQL and loading it into our target MSSQL database. I'd like to add a modified date to the target table that only updates when at least one of the fields have changed. What is the best approach to do this?&lt;BR /&gt;Options I can see could be:-&lt;BR /&gt;[list=1]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Use the tMSSqlSCD component&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Add an outer join between the source and the target using tMap. Then create two outputs; one for inserts based on&amp;nbsp;whether the row exists in target,&amp;nbsp;and one for updates based on whether any fields have changed&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Use database triggers in MSSQL&amp;nbsp;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;[list=*]&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;Option 2 seems very long winded, and quite hard to maintain if I wanted to add fields at a later date.&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;I don't want to use 3 as the performance would be poor.&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any experiences or advice appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;b/&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 11:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-modified-date-to-table/m-p/2375310#M137753</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add modified date to table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-modified-date-to-table/m-p/2375311#M137754</link>
      <description>Go to the advanced setings of the tMssqlOutput component and activate the Field Options. Here you can define which field will be used for insert and/or update.</description>
      <pubDate>Fri, 14 Aug 2015 10:50:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-modified-date-to-table/m-p/2375311#M137754</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-14T10:50:29Z</dc:date>
    </item>
  </channel>
</rss>

