<?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 Copy Activity Fails with &amp;quot;Incorrect syntax near 'INSERT BULK'&amp;quot; when using SQL Server Linked Service in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-Activity-Fails-with-quot-Incorrect-syntax-near-INSERT-BULK/m-p/5181416#M16182</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I ran into an issue while building a pipeline to copy data from SAP S/4HANA into Microsoft Fabric Warehouse and wanted to check if anyone has faced something similar.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Data is initially extracted from &lt;STRONG&gt;SAP S/4HANA&lt;/STRONG&gt; and landed in &lt;STRONG&gt;Lakehouse Files&lt;/STRONG&gt; as &lt;STRONG&gt;Parquet files&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I’m now trying to move the data from &lt;STRONG&gt;Lakehouse Files to Fabric Warehouse&lt;/STRONG&gt; using a &lt;STRONG&gt;Copy activity&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Source:&lt;/STRONG&gt; Lakehouse Parquet file&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sink:&lt;/STRONG&gt; Fabric Warehouse, connected via &lt;STRONG&gt;SQL Server linked service&lt;/STRONG&gt; (using the &lt;STRONG&gt;SQL analytics endpoint&lt;/STRONG&gt;)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Write behavior:&lt;/STRONG&gt; Insert&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bulk insert table lock:&lt;/STRONG&gt; No&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, the pipeline fails when writing to the Warehouse.&lt;/P&gt;&lt;P&gt;I came across a blog mentioning that &lt;STRONG&gt;BULK INSERT is supported in Fabric Warehouse&lt;/STRONG&gt;, so I wanted to understand whether this approach should actually work.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-gb/sql/t-sql/statements/bulk-insert-transact-sql?view=fabric" target="_blank"&gt;https://learn.microsoft.com/en-gb/sql/t-sql/statements/bulk-insert-transact-sql?view=fabric&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The reason I’m using the &lt;STRONG&gt;SQL Server connector instead of the native Fabric Warehouse connector&lt;/STRONG&gt; is because my broader use case requires a &lt;STRONG&gt;dynamic pipeline&lt;/STRONG&gt; with multiple possible destinations, one of which is a standard SQL Server connection. My thought was that using the same connector type would make it easier to dynamically switch connections and reuse the same pipeline logic.&lt;/P&gt;&lt;P&gt;Has anyone implemented something similar, or is using the SQL analytics endpoint as a sink for Fabric Warehouse not a supported pattern in this scenario?&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 May 2026 08:40:47 GMT</pubDate>
    <dc:creator>sshetty014</dc:creator>
    <dc:date>2026-05-12T08:40:47Z</dc:date>
    <item>
      <title>Copy Activity Fails with "Incorrect syntax near 'INSERT BULK'" when using SQL Server Linked Service</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-Activity-Fails-with-quot-Incorrect-syntax-near-INSERT-BULK/m-p/5181416#M16182</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I ran into an issue while building a pipeline to copy data from SAP S/4HANA into Microsoft Fabric Warehouse and wanted to check if anyone has faced something similar.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Current setup:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Data is initially extracted from &lt;STRONG&gt;SAP S/4HANA&lt;/STRONG&gt; and landed in &lt;STRONG&gt;Lakehouse Files&lt;/STRONG&gt; as &lt;STRONG&gt;Parquet files&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;I’m now trying to move the data from &lt;STRONG&gt;Lakehouse Files to Fabric Warehouse&lt;/STRONG&gt; using a &lt;STRONG&gt;Copy activity&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;Configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Source:&lt;/STRONG&gt; Lakehouse Parquet file&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Sink:&lt;/STRONG&gt; Fabric Warehouse, connected via &lt;STRONG&gt;SQL Server linked service&lt;/STRONG&gt; (using the &lt;STRONG&gt;SQL analytics endpoint&lt;/STRONG&gt;)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Write behavior:&lt;/STRONG&gt; Insert&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Bulk insert table lock:&lt;/STRONG&gt; No&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However, the pipeline fails when writing to the Warehouse.&lt;/P&gt;&lt;P&gt;I came across a blog mentioning that &lt;STRONG&gt;BULK INSERT is supported in Fabric Warehouse&lt;/STRONG&gt;, so I wanted to understand whether this approach should actually work.&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-gb/sql/t-sql/statements/bulk-insert-transact-sql?view=fabric" target="_blank"&gt;https://learn.microsoft.com/en-gb/sql/t-sql/statements/bulk-insert-transact-sql?view=fabric&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The reason I’m using the &lt;STRONG&gt;SQL Server connector instead of the native Fabric Warehouse connector&lt;/STRONG&gt; is because my broader use case requires a &lt;STRONG&gt;dynamic pipeline&lt;/STRONG&gt; with multiple possible destinations, one of which is a standard SQL Server connection. My thought was that using the same connector type would make it easier to dynamically switch connections and reuse the same pipeline logic.&lt;/P&gt;&lt;P&gt;Has anyone implemented something similar, or is using the SQL analytics endpoint as a sink for Fabric Warehouse not a supported pattern in this scenario?&lt;/P&gt;&lt;P&gt;Any guidance would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2026 08:40:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-Activity-Fails-with-quot-Incorrect-syntax-near-INSERT-BULK/m-p/5181416#M16182</guid>
      <dc:creator>sshetty014</dc:creator>
      <dc:date>2026-05-12T08:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity Fails with "Incorrect syntax near 'INSERT BULK'" when using SQL Server L</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-Activity-Fails-with-quot-Incorrect-syntax-near-INSERT-BULK/m-p/5181460#M16184</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/1230441"&gt;@sshetty014&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thank you for reaching out to Microsoft Community.&lt;/P&gt;
&lt;P&gt;Although Fabric Warehouse supports the `BULK INSERT` T-SQL statement, using the SQL Server linked service against the Warehouse SQL analytics endpoint is not a fully supported sink pattern for Copy Activity bulk loading.&lt;/P&gt;
&lt;P&gt;The SQL Server connector internally uses SQL server specific bulk insert operations (`INSERT BULK`) which are not fully compatible with the Fabric Warehouse endpoint, resulting in the syntax error.&lt;/P&gt;
&lt;P&gt;For Fabric Warehouse destinations, the recommended approaches are:&lt;/P&gt;
&lt;P&gt;* Use the native Fabric Warehouse connector in Copy Activity&lt;BR /&gt;* Use `COPY INTO` from OneLake/Lakehouse files&lt;BR /&gt;* Use Dataflow Gen2 or Notebook-based loading patterns&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;For dynamic multi destination pipelines, the recommended design is usually to branch logic based on sink type rather than reusing the SQL Server connector for Fabric Warehouse targets.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 May 2026 11:08:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-Activity-Fails-with-quot-Incorrect-syntax-near-INSERT-BULK/m-p/5181460#M16184</guid>
      <dc:creator>v-echaithra</dc:creator>
      <dc:date>2026-05-12T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Activity Fails with "Incorrect syntax near 'INSERT BULK'" when using SQL Server L</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-Activity-Fails-with-quot-Incorrect-syntax-near-INSERT-BULK/m-p/5195533#M16622</link>
      <description>&lt;P&gt;There is a 'tiny' problem with proposed solution of using native Warehouse connector - as of 2026-06-10, this type of connections &lt;STRONG&gt;still&lt;/STRONG&gt; doesn't support other authorization methods than OAuth.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 11:21:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Copy-Activity-Fails-with-quot-Incorrect-syntax-near-INSERT-BULK/m-p/5195533#M16622</guid>
      <dc:creator>PavelUrbancik</dc:creator>
      <dc:date>2026-06-10T11:21:18Z</dc:date>
    </item>
  </channel>
</rss>

