<?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: Need to run update statement from databricks using azure sql  pyodbc connection in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/need-to-run-update-statement-from-databricks-using-azure-sql/m-p/112075#M44100</link>
    <description>&lt;P&gt;Hi Narendra,&lt;/P&gt;&lt;P&gt;How are you doing today? As per my understanding,&amp;nbsp;It looks like your Databricks notebook can't find the ODBC Driver 17 for SQL Server. You can first check if the driver is installed by running !odbcinst -q -d in a notebook cell. If it's missing, try installing it with !sudo apt-get update and !sudo apt-get install -y msodbcsql17, then restart the cluster. Also, verify the ODBC configuration by running !cat /etc/odbcinst.ini to check if the driver is listed. If it's still not working, check your pyodbc connection string and ensure the driver name matches the installed one, like "DRIVER={ODBC Driver 17 for SQL Server}". Try these steps and see if they help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
    <pubDate>Sat, 08 Mar 2025 21:58:32 GMT</pubDate>
    <dc:creator>Brahmareddy</dc:creator>
    <dc:date>2025-03-08T21:58:32Z</dc:date>
    <item>
      <title>Need to run update statement from databricks using azure sql  pyodbc connection</title>
      <link>https://community.databricks.com/t5/data-engineering/need-to-run-update-statement-from-databricks-using-azure-sql/m-p/112026#M44074</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was Trying to run the update statement in data bricks notebook using pyodbc connection. while i was doing I was getting following error. I need assistance to solve this.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;Error: (&lt;SPAN class=""&gt;'01000'&lt;/SPAN&gt;, &lt;SPAN class=""&gt;"[01000] [unixODBC][Driver Manager]Can't open lib 'ODBC Driver 17 for SQL Server' : file not found (0) (SQLDriverConnect)"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 16:23:22 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-to-run-update-statement-from-databricks-using-azure-sql/m-p/112026#M44074</guid>
      <dc:creator>narendra11</dc:creator>
      <dc:date>2025-03-07T16:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need to run update statement from databricks using azure sql  pyodbc connection</title>
      <link>https://community.databricks.com/t5/data-engineering/need-to-run-update-statement-from-databricks-using-azure-sql/m-p/112075#M44100</link>
      <description>&lt;P&gt;Hi Narendra,&lt;/P&gt;&lt;P&gt;How are you doing today? As per my understanding,&amp;nbsp;It looks like your Databricks notebook can't find the ODBC Driver 17 for SQL Server. You can first check if the driver is installed by running !odbcinst -q -d in a notebook cell. If it's missing, try installing it with !sudo apt-get update and !sudo apt-get install -y msodbcsql17, then restart the cluster. Also, verify the ODBC configuration by running !cat /etc/odbcinst.ini to check if the driver is listed. If it's still not working, check your pyodbc connection string and ensure the driver name matches the installed one, like "DRIVER={ODBC Driver 17 for SQL Server}". Try these steps and see if they help!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Brahma&lt;/P&gt;</description>
      <pubDate>Sat, 08 Mar 2025 21:58:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/need-to-run-update-statement-from-databricks-using-azure-sql/m-p/112075#M44100</guid>
      <dc:creator>Brahmareddy</dc:creator>
      <dc:date>2025-03-08T21:58:32Z</dc:date>
    </item>
  </channel>
</rss>

