<?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: Does qlik support firing a azure sql trigger? in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076581#M6141</link>
    <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;EM&gt;Does qlik use bulk insert under the hood or normal insert ?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Check with "manage endpoint connections" -&amp;gt; "endpoint" -&amp;gt; "Advanced" -&amp;gt; "&lt;SPAN&gt;Use BCP for loading tables&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;The default is to use BCP (bulk) in which case triggers are NOT executed. Try again disabling BCP? Or set the FIRE_TRIGGERS option but be aware of the costs.&amp;nbsp;Bulk copy operations that would usually be minimally logged will be fully logged.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlservercentral.com/forums/topic/bcp-and-triggers" target="_blank"&gt;https://www.sqlservercentral.com/forums/topic/bcp-and-triggers&lt;/A&gt;&amp;nbsp;--&amp;gt; specify&amp;nbsp;FIRE_TRIGGERS as "&lt;SPAN&gt;Additional ODBC connection properties:" ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Instead of a trigger for every row, might it not be better to run whatever need to be done after the full-load?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hein.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2023 04:31:19 GMT</pubDate>
    <dc:creator>Heinvandenheuvel</dc:creator>
    <dc:date>2023-05-26T04:31:19Z</dc:date>
    <item>
      <title>Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076354#M6118</link>
      <description>&lt;DIV class="MessageInResponseTo lia-component-message-view-widget-in-response-to lia-component-in-response-to"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV id="bodyDisplay" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;hi, we have a data load process from a source (SAP) to Azure SQL table.&lt;/P&gt;
&lt;P&gt;Post doing full data load, we would like to run a update statement on the target table.&lt;/P&gt;
&lt;P&gt;For this we created a sql trigger (insert trigger) for this, but it isn't getting fired.&lt;/P&gt;
&lt;P&gt;Does replicate allow the triggers to work on target SQL table?&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 25 May 2023 14:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076354#M6118</guid>
      <dc:creator>replicate</dc:creator>
      <dc:date>2023-05-25T14:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076480#M6123</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/231811"&gt;@replicate&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since the trigger is defined on the target database, it should fire on every insert record. I am not aware of a way that Replicate could interfere with this. You might check with Azure Support on why it is not working.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 17:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076480#M6123</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-25T17:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076484#M6124</link>
      <description>I ran manual insert statement on the table and trigger was fired.&lt;BR /&gt;When the fdl was ran from qlik, it didn't. It doesn't seem to be sql issue. Does qlik use bulk insert under the hood or normal insert ?&lt;BR /&gt;</description>
      <pubDate>Thu, 25 May 2023 17:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076484#M6124</guid>
      <dc:creator>replicate</dc:creator>
      <dc:date>2023-05-25T17:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076485#M6125</link>
      <description>&lt;P&gt;Good catch&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/231811"&gt;@replicate&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is an option on the advanced tab of the target endpoint "Use BCP for loading tables" which if enabled, will prevent triggers from firing. Please test with this disabled. As you might expect, load performance may be impacted.&lt;/P&gt;
&lt;P&gt;For reference:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/replicate/May2023/Content/Replicate/Main/Microsoft%20Azure%20SQL%20Database/azure_limitations_SQLServerDB.htm" target="_blank"&gt;Limitations | Qlik Replicate Help&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 17:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076485#M6125</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-25T17:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076581#M6141</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;EM&gt;Does qlik use bulk insert under the hood or normal insert ?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Check with "manage endpoint connections" -&amp;gt; "endpoint" -&amp;gt; "Advanced" -&amp;gt; "&lt;SPAN&gt;Use BCP for loading tables&lt;/SPAN&gt;"&lt;/P&gt;
&lt;P&gt;The default is to use BCP (bulk) in which case triggers are NOT executed. Try again disabling BCP? Or set the FIRE_TRIGGERS option but be aware of the costs.&amp;nbsp;Bulk copy operations that would usually be minimally logged will be fully logged.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.sqlservercentral.com/forums/topic/bcp-and-triggers" target="_blank"&gt;https://www.sqlservercentral.com/forums/topic/bcp-and-triggers&lt;/A&gt;&amp;nbsp;--&amp;gt; specify&amp;nbsp;FIRE_TRIGGERS as "&lt;SPAN&gt;Additional ODBC connection properties:" ?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Instead of a trigger for every row, might it not be better to run whatever need to be done after the full-load?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hein.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 04:31:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076581#M6141</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-05-26T04:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076605#M6143</link>
      <description>&lt;P&gt;It's a small table but you are right, not the best way to have trigger firing for each insert. On the other hand, do we have the ability to execute a stored proc post fdl to do the update process?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 05:55:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076605#M6143</guid>
      <dc:creator>replicate</dc:creator>
      <dc:date>2023-05-26T05:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076920#M6144</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/231811"&gt;@replicate&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some target endpoints allow running a script after uploading a file, such as S3, but Azure SQL target does not.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2023 18:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076920#M6144</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-26T18:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076947#M6145</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/231811"&gt;@replicate&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Besides&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121014"&gt;@Dana_Baldwin&lt;/a&gt;&amp;nbsp;comment, You can set the &lt;A title="task to stop automatically after Full Load completes" href="https://help.qlik.com/en-US/replicate/November2022/Content/Global_Common/Content/SharedEMReplicate/Customize%20Tasks/tasks_fullLoadSetstab.htm" target="_blank" rel="noopener"&gt;task to stop automatically after Full Load completes&lt;/A&gt;. This is useful if you need to perform DBA maintenance operations on the target side before the task’s Apply Changes phase begins.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="john_wang_0-1685150155410.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/108460i4E52E70E03255E65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="john_wang_0-1685150155410.png" alt="john_wang_0-1685150155410.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2023 01:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076947#M6145</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2023-05-27T01:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076949#M6146</link>
      <description>&lt;P&gt;That's unfortunate. Is it possible to request this basic functionality of calling a spoc/function on target sql as a feature or is it a design limitation itself?&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2023 02:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2076949#M6146</guid>
      <dc:creator>replicate</dc:creator>
      <dc:date>2023-05-27T02:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Does qlik support firing a azure sql trigger?</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2077934#M6178</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/231811"&gt;@replicate&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can submit feature requests directly to our Product Management team here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas" target="_blank"&gt;https://community.qlik.com/t5/Ideas/idb-p/qlik-ideas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Dana&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 16:04:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Does-qlik-support-firing-a-azure-sql-trigger/m-p/2077934#M6178</guid>
      <dc:creator>Dana_Baldwin</dc:creator>
      <dc:date>2023-05-30T16:04:26Z</dc:date>
    </item>
  </channel>
</rss>

