<?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: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline in Pipelines</title>
    <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4617862#M7315</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When implementing UPSERT logic in a Stored Procedure (SP) within a Fabric pipeline, failing to pass the defined input parameters from the pipeline can lead to issues. If the parameters are not provided and the UPSERT script does not follow the necessary logic, it may fail to insert data into the destination tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this asnwers your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 09:43:38 GMT</pubDate>
    <dc:creator>AthmakuriRekha</dc:creator>
    <dc:date>2025-03-20T09:43:38Z</dc:date>
    <item>
      <title>Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4602760#M7254</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am implementing UPSERT logic in a Stored Procedure (SP) within a Fabric pipeline using the SP Activity. However, when the pipeline runs, the SP does not populate the correct values, whereas executing it manually produces the expected results. I need a solution to resolve this issue.&lt;/P&gt;&lt;P&gt;Note: I also tried using the Script Activity for SP execution, but it did not yield the correct result either.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Kavya Bhat&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:48:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4602760#M7254</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-10T07:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4602772#M7255</link>
      <description>&lt;P&gt;Hello, can you share the error you get when you run the pipeline to help? Are you sure you have set the store procedure parameter settings correctly in the pipeline? Can you share the input and output of the store procedure after the pipeline runs?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 07:55:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4602772#M7255</guid>
      <dc:creator>ahmetyilmaz</dc:creator>
      <dc:date>2025-03-10T07:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4603453#M7258</link>
      <description>&lt;P&gt;I am not getting any error , while i am using stored Procedure activity and i provided the stored procedure name , even though that sp activity not update and insert propery when the pipeline was sheduled&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kavya Bhat&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 13:48:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4603453#M7258</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-03-10T13:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4603493#M7260</link>
      <description>&lt;P&gt;Are your Store Procedure Parameters correct?&lt;BR /&gt;Example below works correctly for me.&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;CREATE&lt;/SPAN&gt; &lt;SPAN&gt;PROCEDURE&lt;/SPAN&gt;&lt;SPAN&gt; UpsertSales&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @SalesOrderNumber NVARCHAR(&lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @SalesOrderLineNumber &lt;/SPAN&gt;&lt;SPAN&gt;INT&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @OrderDate &lt;/SPAN&gt;&lt;SPAN&gt;DATE&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @CustomerName NVARCHAR(&lt;/SPAN&gt;&lt;SPAN&gt;255&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @EmailAddress NVARCHAR(&lt;/SPAN&gt;&lt;SPAN&gt;255&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="816487" data-lia-user-login="Item" class="lia-mention lia-mention-user"&gt;Item&lt;/a&gt; NVARCHAR(&lt;/SPAN&gt;&lt;SPAN&gt;255&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @Quantity &lt;/SPAN&gt;&lt;SPAN&gt;INT&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @UnitPrice &lt;/SPAN&gt;&lt;SPAN&gt;DECIMAL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;18&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; @TaxAmount &lt;/SPAN&gt;&lt;SPAN&gt;DECIMAL&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;18&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;2&lt;/SPAN&gt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p;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;BEGIN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;UPDATE&lt;/SPAN&gt;&lt;SPAN&gt; sales&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;SET&lt;/SPAN&gt;&lt;SPAN&gt; OrderDate = @OrderDate,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CustomerName = @CustomerName,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; EmailAddress = @EmailAddress,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Item = &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="816487" data-lia-user-login="Item" class="lia-mention lia-mention-user"&gt;Item&lt;/a&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Quantity = @Quantity,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; UnitPrice = @UnitPrice,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; TaxAmount = @TaxAmount&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;WHERE&lt;/SPAN&gt;&lt;SPAN&gt; SalesOrderNumber = @SalesOrderNumber&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;AND&lt;/SPAN&gt;&lt;SPAN&gt; SalesOrderLineNumber = @SalesOrderLineNumber;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ELSE&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;BEGIN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;INSERT&lt;/SPAN&gt; &lt;SPAN&gt;INTO&lt;/SPAN&gt;&lt;SPAN&gt; sales (SalesOrderNumber, SalesOrderLineNumber, OrderDate, CustomerName, EmailAddress, Item, Quantity, UnitPrice, TaxAmount)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VALUES&lt;/SPAN&gt;&lt;SPAN&gt; (@SalesOrderNumber, @SalesOrderLineNumber, @OrderDate, @CustomerName, @EmailAddress, &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="816487" data-lia-user-login="Item" class="lia-mention lia-mention-user"&gt;Item&lt;/a&gt;, @Quantity, @UnitPrice, @TaxAmount);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;END&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Mar 2025 14:06:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4603493#M7260</guid>
      <dc:creator>ahmetyilmaz</dc:creator>
      <dc:date>2025-03-10T14:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4617862#M7315</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;When implementing UPSERT logic in a Stored Procedure (SP) within a Fabric pipeline, failing to pass the defined input parameters from the pipeline can lead to issues. If the parameters are not provided and the UPSERT script does not follow the necessary logic, it may fail to insert data into the destination tables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this asnwers your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 09:43:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4617862#M7315</guid>
      <dc:creator>AthmakuriRekha</dc:creator>
      <dc:date>2025-03-20T09:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4660917#M7568</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rama U.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 11:14:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4660917#M7568</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-04-21T11:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4666229#M7599</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 08:29:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4666229#M7599</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-04-24T08:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with UPSERT Logic in Stored Procedure Execution in Fabric Pipeline</title>
      <link>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4670496#M7643</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please &lt;STRONG&gt;accept it as a solution&lt;/STRONG&gt; and give it a '&lt;STRONG&gt;Kudos&lt;/STRONG&gt;' so other community members with similar problems can find a solution faster.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 09:55:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Pipelines/Issue-with-UPSERT-Logic-in-Stored-Procedure-Execution-in-Fabric/m-p/4670496#M7643</guid>
      <dc:creator>v-venuppu</dc:creator>
      <dc:date>2025-04-28T09:55:52Z</dc:date>
    </item>
  </channel>
</rss>

