<?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 When will the MERGE SQL query be supported in Microsoft Fabric Warehouse? in Data Warehouse</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4655318#M2909</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently working with &lt;STRONG&gt;Microsoft Fabric Warehouse&lt;/STRONG&gt; and attempting to use the &lt;STRONG&gt;MERGE&lt;/STRONG&gt; SQL statement to perform upserts (insert/update operations). However, it seems that the &lt;STRONG&gt;MERGE&lt;/STRONG&gt; statement is currently not supported in Fabric's warehouse SQL engine.&lt;/P&gt;&lt;P&gt;Could someone from the Microsoft team or the community provide clarification on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Whether &lt;STRONG&gt;MERGE&lt;/STRONG&gt; support is planned for Microsoft Fabric Warehouse?&lt;/LI&gt;&lt;LI&gt;If so, is there an estimated timeline for when this feature might be rolled out?&lt;/LI&gt;&lt;LI&gt;Are there any recommended workarounds in the meantime for achieving similar functionality?&lt;/LI&gt;&lt;/UL&gt;&lt;P class="lia-align-left"&gt;This feature is quite essential for many data integration and ETL/ELT scenarios, and I’m sure many users would benefit from knowing the roadmap or alternatives.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Apr 2025 09:03:59 GMT</pubDate>
    <dc:creator>FabricTrailLear</dc:creator>
    <dc:date>2025-04-16T09:03:59Z</dc:date>
    <item>
      <title>When will the MERGE SQL query be supported in Microsoft Fabric Warehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4655318#M2909</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am currently working with &lt;STRONG&gt;Microsoft Fabric Warehouse&lt;/STRONG&gt; and attempting to use the &lt;STRONG&gt;MERGE&lt;/STRONG&gt; SQL statement to perform upserts (insert/update operations). However, it seems that the &lt;STRONG&gt;MERGE&lt;/STRONG&gt; statement is currently not supported in Fabric's warehouse SQL engine.&lt;/P&gt;&lt;P&gt;Could someone from the Microsoft team or the community provide clarification on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Whether &lt;STRONG&gt;MERGE&lt;/STRONG&gt; support is planned for Microsoft Fabric Warehouse?&lt;/LI&gt;&lt;LI&gt;If so, is there an estimated timeline for when this feature might be rolled out?&lt;/LI&gt;&lt;LI&gt;Are there any recommended workarounds in the meantime for achieving similar functionality?&lt;/LI&gt;&lt;/UL&gt;&lt;P class="lia-align-left"&gt;This feature is quite essential for many data integration and ETL/ELT scenarios, and I’m sure many users would benefit from knowing the roadmap or alternatives.&lt;/P&gt;&lt;P&gt;Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 09:03:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4655318#M2909</guid>
      <dc:creator>FabricTrailLear</dc:creator>
      <dc:date>2025-04-16T09:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: When will the MERGE SQL query be supported in Microsoft Fabric Warehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4662494#M2913</link>
      <description>&lt;P&gt;&lt;STRONG&gt;MERGE support is planned&lt;/STRONG&gt; as part of ongoing SQL capabilities improvements in Fabric Warehouse, but:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;No official ETA&lt;/STRONG&gt; has been provided publicly by Microsoft.&lt;/LI&gt;&lt;LI&gt;Based on trends, it is &lt;STRONG&gt;expected sometime in 2025&lt;/STRONG&gt;, possibly in &lt;STRONG&gt;H2 2025&lt;/STRONG&gt;, as part of broader T-SQL language parity updates.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can follow updates on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://ideas.fabric.microsoft.com/" target="_blank"&gt;Microsoft Fabric Ideas Forum&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Official &lt;A href="https://learn.microsoft.com/en-us/fabric/roadmap/" target="_blank"&gt;Microsoft Learn release wave plans&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;You can follow updates on:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://ideas.fabric.microsoft.com/" target="_blank"&gt;Microsoft Fabric Ideas Forum&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Official &lt;A href="https://learn.microsoft.com/en-us/fabric/roadmap/" target="_blank"&gt;Microsoft Learn release wave plans&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Workarounds for MERGE in Fabric Warehouse&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Until MERGE is available, you can replicate its behavior with &lt;STRONG&gt;manual UPSERT logic&lt;/STRONG&gt; using a combination of UPDATE and INSERT with NOT EXISTS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- 1. UPDATE existing records&lt;/P&gt;&lt;P&gt;UPDATE target&lt;/P&gt;&lt;P&gt;SET target.column1 = source.column1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; target.column2 = source.column2&lt;/P&gt;&lt;P&gt;FROM target_table AS target&lt;/P&gt;&lt;P&gt;JOIN staging_table AS source&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON target.primary_key = source.primary_key;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-- 2. INSERT new records&lt;/P&gt;&lt;P&gt;INSERT INTO target_table (primary_key, column1, column2)&lt;/P&gt;&lt;P&gt;SELECT source.primary_key, source.column1, source.column2&lt;/P&gt;&lt;P&gt;FROM staging_table AS source&lt;/P&gt;&lt;P&gt;LEFT JOIN target_table AS target&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ON target.primary_key = source.primary_key&lt;/P&gt;&lt;P&gt;WHERE target.primary_key IS NULL;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tip&lt;/STRONG&gt;: If your tables are large, consider indexing your join keys and/or breaking up operations into batches for performance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Alternative: ELT with Dataflows Gen2 + Notebooks&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If you're orchestrating pipelines in Fabric:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use &lt;STRONG&gt;Dataflows Gen2&lt;/STRONG&gt; for staging and deduplication&lt;/LI&gt;&lt;LI&gt;Combine with &lt;STRONG&gt;Lakehouse Notebooks (PySpark)&lt;/STRONG&gt; for flexible logic&lt;/LI&gt;&lt;LI&gt;Write the final curated data into your Warehouse&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 22 Apr 2025 07:34:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4662494#M2913</guid>
      <dc:creator>rosha_rosha</dc:creator>
      <dc:date>2025-04-22T07:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: When will the MERGE SQL query be supported in Microsoft Fabric Warehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4666720#M2929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1260789" data-lia-user-login="FabricTrailLear" class="lia-mention lia-mention-user"&gt;FabricTrailLear&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would like to follow up to see if the solution provided by the super user resolved your issue. Please let us know if you need any further assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#00FF00"&gt;&lt;STRONG&gt;&lt;I&gt;If our super user response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.&lt;/I&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;B Manikanteswara Reddy&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 12:24:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4666720#M2929</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-24T12:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: When will the MERGE SQL query be supported in Microsoft Fabric Warehouse?</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4885235#M3953</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1260789" data-lia-user-login="FabricTrailLear" class="lia-mention lia-mention-user"&gt;FabricTrailLear&lt;/a&gt;&lt;BR /&gt;Merge is now supported in the Microsoft Fabric Warehouse.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Nov 2025 10:02:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Warehouse/When-will-the-MERGE-SQL-query-be-supported-in-Microsoft-Fabric/m-p/4885235#M3953</guid>
      <dc:creator>AnchalRajputx</dc:creator>
      <dc:date>2025-11-25T10:02:30Z</dc:date>
    </item>
  </channel>
</rss>

