<?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 Databricks sql using odbc issue in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-sql-using-odbc-issue/m-p/44193#M27619</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm connecting to a Databricks instance on Azure from a Windows Application using Simba ODBC driver, and when running SQL statements on delta tables, like INSERT, UPDATE, DELETE commands using Execute, the result doesn't indicate the no. of rows affected, it is always -1. Is there a way to get that information back when running the commands? Any help is greatly appreciated. Thanks!!&lt;/P&gt;</description>
    <pubDate>Sat, 09 Sep 2023 20:02:57 GMT</pubDate>
    <dc:creator>DBUser2</dc:creator>
    <dc:date>2023-09-09T20:02:57Z</dc:date>
    <item>
      <title>Databricks sql using odbc issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-using-odbc-issue/m-p/44193#M27619</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm connecting to a Databricks instance on Azure from a Windows Application using Simba ODBC driver, and when running SQL statements on delta tables, like INSERT, UPDATE, DELETE commands using Execute, the result doesn't indicate the no. of rows affected, it is always -1. Is there a way to get that information back when running the commands? Any help is greatly appreciated. Thanks!!&lt;/P&gt;</description>
      <pubDate>Sat, 09 Sep 2023 20:02:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-using-odbc-issue/m-p/44193#M27619</guid>
      <dc:creator>DBUser2</dc:creator>
      <dc:date>2023-09-09T20:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Databricks sql using odbc issue</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-using-odbc-issue/m-p/44412#M27646</link>
      <description>&lt;P&gt;Thx for replying. So, is there an alternative to using Execute to run DML statements and find out&amp;nbsp; the no. of rows affected? For a DELETE command, Execute returns -1 in both cases, 1)when the cmd actually deleted some records, and 2) when those records didn't exist in the table.&lt;/P&gt;&lt;P&gt;so, it is really difficult to know if it is success.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 16:33:38 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-using-odbc-issue/m-p/44412#M27646</guid>
      <dc:creator>DBUser2</dc:creator>
      <dc:date>2023-09-11T16:33:38Z</dc:date>
    </item>
  </channel>
</rss>

