<?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 Global Rules -  I need a column that shows when the record was written to the target in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424334#M9834</link>
    <description>&lt;P&gt;I currently am replicating data from sql server to snowflake.&amp;nbsp; It looks like we may have had a huge delay in when the changes came into sql server and when they were actually written to snowflake.&amp;nbsp; Is there any variable I can use that will set a date in a table in the target as to when it actually wrote to the target? Besides just setting a default date column on the snowflake side?&lt;/P&gt;</description>
    <pubDate>Tue, 27 Feb 2024 22:24:30 GMT</pubDate>
    <dc:creator>pkagel</dc:creator>
    <dc:date>2024-02-27T22:24:30Z</dc:date>
    <item>
      <title>Global Rules -  I need a column that shows when the record was written to the target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424334#M9834</link>
      <description>&lt;P&gt;I currently am replicating data from sql server to snowflake.&amp;nbsp; It looks like we may have had a huge delay in when the changes came into sql server and when they were actually written to snowflake.&amp;nbsp; Is there any variable I can use that will set a date in a table in the target as to when it actually wrote to the target? Besides just setting a default date column on the snowflake side?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 22:24:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424334#M9834</guid>
      <dc:creator>pkagel</dc:creator>
      <dc:date>2024-02-27T22:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: Global Rules -  I need a column that shows when the record was written to the target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424336#M9836</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149269"&gt;@pkagel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;setting a default date column on the snowflake side is the best option since it will have the actual time the record was written,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I see this a lot with MS SQL target tables.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The other option would be to add a global transformation "Add Column" and put the date value there - it may end up still being different than the table field due to target side latency.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps out.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;BR /&gt;Michael&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 22:40:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424336#M9836</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2024-02-27T22:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Global Rules -  I need a column that shows when the record was written to the target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424338#M9837</link>
      <description>&lt;P&gt;Thank you.&amp;nbsp; If I wanted to do it from Add Column which data value would I use?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 22:43:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424338#M9837</guid>
      <dc:creator>pkagel</dc:creator>
      <dc:date>2024-02-27T22:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Global Rules -  I need a column that shows when the record was written to the target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424340#M9838</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149269"&gt;@pkagel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Please try&amp;nbsp;DATETIME('now') as the value in the add column expression.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 22:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424340#M9838</guid>
      <dc:creator>Michael_Litz</dc:creator>
      <dc:date>2024-02-27T22:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Global Rules -  I need a column that shows when the record was written to the target</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424345#M9839</link>
      <description>&lt;P&gt;Default dt column on target is best.&lt;/P&gt;
&lt;P&gt;From Replicate all you can do is Datetime(now,localtime) to know when Replicate got around to process it. However, at that point It only gets stuck in the CSV file with thousands or millions of others. That CSV&amp;nbsp; gets pushed over the wire and then stored table by table ALPHABETICALLY. That can take anywhere from 2 seconds to 2000 (or worse).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are truly interested in the details and do not want to add the default column on target then I urge you to get comfortable with the reptask logs. Set logging for TARGET_APPLY to DEBUG and you'll see when the store actions for your target tables are triggered and when they finish. I have published scripts to automate that review process some.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 23:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Global-Rules-I-need-a-column-that-shows-when-the-record-was/m-p/2424345#M9839</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-02-27T23:41:21Z</dc:date>
    </item>
  </channel>
</rss>

