<?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 now supports getting the SQLSTATE code of a query to identify errors. You can use the e.getSqlState() method in a try/catch block to ge... in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/databricks-sql-now-supports-getting-the-sqlstate-code-of-a-query/m-p/6364#M2526</link>
    <description>&lt;P&gt;&lt;B&gt;databricks&lt;/B&gt; SQL now supports getting the SQLSTATE code of a query to identify errors. You can use the e.getSqlState() method in a try/catch block to get the five-character code that indicates the success or failure of an SQL command. I am still thinking about how to use it in plain SQL without Python &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/401iB686774F0E348A6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled" alt="Untitled" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2023 15:07:40 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2023-04-05T15:07:40Z</dc:date>
    <item>
      <title>databricks SQL now supports getting the SQLSTATE code of a query to identify errors. You can use the e.getSqlState() method in a try/catch block to ge...</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-now-supports-getting-the-sqlstate-code-of-a-query/m-p/6364#M2526</link>
      <description>&lt;P&gt;&lt;B&gt;databricks&lt;/B&gt; SQL now supports getting the SQLSTATE code of a query to identify errors. You can use the e.getSqlState() method in a try/catch block to get the five-character code that indicates the success or failure of an SQL command. I am still thinking about how to use it in plain SQL without Python &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/401iB686774F0E348A6B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled" alt="Untitled" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 15:07:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-now-supports-getting-the-sqlstate-code-of-a-query/m-p/6364#M2526</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-04-05T15:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: databricks SQL now supports getting the SQLSTATE code of a query to identify errors. You can use the e.getSqlState() method in a try/catch block to ge...</title>
      <link>https://community.databricks.com/t5/data-engineering/databricks-sql-now-supports-getting-the-sqlstate-code-of-a-query/m-p/6365#M2527</link>
      <description>&lt;P&gt;Thank you for sharing @Hubert Dudek​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Apr 2023 17:31:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/databricks-sql-now-supports-getting-the-sqlstate-code-of-a-query/m-p/6365#M2527</guid>
      <dc:creator>jose_gonzalez</dc:creator>
      <dc:date>2023-04-10T17:31:46Z</dc:date>
    </item>
  </channel>
</rss>

