<?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: Insert Into SQLServer Table in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111917#M44042</link>
    <description>&lt;P&gt;I thought I had already tried this on general purpose compute, but apparently not.&amp;nbsp; After reading the docs you referenced, I retried using standard compute and it works perfectly.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 06 Mar 2025 15:39:18 GMT</pubDate>
    <dc:creator>Unimog</dc:creator>
    <dc:date>2025-03-06T15:39:18Z</dc:date>
    <item>
      <title>Insert Into SQLServer Table</title>
      <link>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111872#M44020</link>
      <description>&lt;P&gt;I'm trying to insert and update data in an SQLServer table from a python script.&amp;nbsp; No matter what I try, it seems to give me this error:&lt;BR /&gt;&lt;SPAN&gt;The input query contains unsupported data source(s). Only csv, json, avro, delta, kafka, parquet, orc, text, unity_catalog, binaryFile, xml, simplescan, iceberg, mysql, postgresql, sqlserver, redshift, snowflake, sqldw, databricks, bigquery, oracle, salesforce, salesforce_data_cloud, teradata, workday_raas, mongodb data sources are supported on serverless compute...&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;- I've tried from spark.sql on serverless and non-serverless compute.&amp;nbsp;&lt;BR /&gt;- I've tried updating using dataframe.write...&lt;BR /&gt;- I've tried over a federated connection as well as opening a jdbc connection.&lt;BR /&gt;- Based on the message and suggestions from the assistant, I've tried writing the input data to a delta table first, then updating from there.&lt;BR /&gt;&lt;BR /&gt;Is anyone out there able to write to an existing sql server table who could give me some hints?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 22:02:56 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111872#M44020</guid>
      <dc:creator>Unimog</dc:creator>
      <dc:date>2025-03-05T22:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Into SQLServer Table</title>
      <link>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111877#M44023</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/83477"&gt;@Unimog&lt;/a&gt;,&amp;nbsp;Is it possible to provide the dataframe write statement? Or more details on the error apart from allowed file formats&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 23:18:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111877#M44023</guid>
      <dc:creator>Nivethan_Venkat</dc:creator>
      <dc:date>2025-03-05T23:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Into SQLServer Table</title>
      <link>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111879#M44025</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;Hi Nivethan,&amp;nbsp; I have tried a bunch of methods to do this.&amp;nbsp; Here is one:&lt;BR /&gt;update_df.write&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;format&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"sqlserver"&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;mode&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"append"&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;S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SPAN&gt;20000&lt;/SPAN&gt;&lt;SPAN&gt;)&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;option&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"mssqlIsolationLevel"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"READ_UNCOMMITTED"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;save&lt;/SPAN&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Mar 2025 23:44:24 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111879#M44025</guid>
      <dc:creator>Unimog</dc:creator>
      <dc:date>2025-03-05T23:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Into SQLServer Table</title>
      <link>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111880#M44026</link>
      <description>&lt;P&gt;Here is the full text of the error message:&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;The input query contains unsupported data source(s). Only csv, json, avro, delta, kafka, parquet, orc, text, unity_catalog, binaryFile, xml, simplescan, iceberg, mysql, postgresql, sqlserver, redshift, snowflake, sqldw, databricks, bigquery, oracle, salesforce, salesforce_data_cloud, teradata, workday_raas, mongodb data sources are supported on serverless compute, and only csv, json, avro, delta, kafka, parquet, orc, text, unity_catalog, binaryFile, xml, simplescan, iceberg data sources are allowed to run DML on serverless compute.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Mar 2025 23:47:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111880#M44026</guid>
      <dc:creator>Unimog</dc:creator>
      <dc:date>2025-03-05T23:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Into SQLServer Table</title>
      <link>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111882#M44028</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/83477"&gt;@Unimog&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Currently the support for data sources are limited to as mentioned in the General Limitations for serverless compute as of now:&amp;nbsp;&lt;A href="https://docs.databricks.com/aws/en/compute/serverless/limitations#:~:text=Support%20for%20data%20sources%20is,UDFs)%20cannot%20access%20the%20internet." target="_self"&gt;General Serverless Limitations&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Support for data sources is limited to AVRO, BINARYFILE, CSV, DELTA, JSON, KAFKA, ORC, PARQUET, ORC, TEXT, and XML.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Hopefully, it will soon be enabled for more data formats including &lt;STRONG&gt;sqlserver&amp;nbsp;&lt;/STRONG&gt;as mentioned in your dataframe write query. But when you are using &lt;STRONG&gt;Delta&lt;/STRONG&gt; as a format it should work ideally without any issues.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 00:04:36 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111882#M44028</guid>
      <dc:creator>Nivethan_Venkat</dc:creator>
      <dc:date>2025-03-06T00:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Insert Into SQLServer Table</title>
      <link>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111917#M44042</link>
      <description>&lt;P&gt;I thought I had already tried this on general purpose compute, but apparently not.&amp;nbsp; After reading the docs you referenced, I retried using standard compute and it works perfectly.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2025 15:39:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/insert-into-sqlserver-table/m-p/111917#M44042</guid>
      <dc:creator>Unimog</dc:creator>
      <dc:date>2025-03-06T15:39:18Z</dc:date>
    </item>
  </channel>
</rss>

