<?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 DESCRIBE Table and SHOW CREAT TABLE shows contradictory NULL constraints in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/describe-table-and-show-creat-table-shows-contradictory-null/m-p/102435#M8953</link>
    <description>&lt;P&gt;SHOW CREATE TABLE provides correct NULL constraints details of each column where as DESCRIBE TABLE shows wrong NULL constraints details?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 22:58:46 GMT</pubDate>
    <dc:creator>MBhaskar</dc:creator>
    <dc:date>2024-12-17T22:58:46Z</dc:date>
    <item>
      <title>DESCRIBE Table and SHOW CREAT TABLE shows contradictory NULL constraints</title>
      <link>https://community.databricks.com/t5/get-started-discussions/describe-table-and-show-creat-table-shows-contradictory-null/m-p/102435#M8953</link>
      <description>&lt;P&gt;SHOW CREATE TABLE provides correct NULL constraints details of each column where as DESCRIBE TABLE shows wrong NULL constraints details?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 22:58:46 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/describe-table-and-show-creat-table-shows-contradictory-null/m-p/102435#M8953</guid>
      <dc:creator>MBhaskar</dc:creator>
      <dc:date>2024-12-17T22:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: DESCRIBE Table and SHOW CREAT TABLE shows contradictory NULL constraints</title>
      <link>https://community.databricks.com/t5/get-started-discussions/describe-table-and-show-creat-table-shows-contradictory-null/m-p/102438#M8954</link>
      <description>&lt;P class="_1t7bu9h1 paragraph"&gt;Yes, you are correct. The &lt;CODE&gt;SHOW CREATE TABLE&lt;/CODE&gt; command provides accurate details about the NULL constraints for each column in a table, whereas the &lt;CODE&gt;DESCRIBE TABLE&lt;/CODE&gt; command may show incorrect NULL constraints details. This discrepancy arises because &lt;CODE&gt;SHOW CREATE TABLE&lt;/CODE&gt; directly reflects the table's creation syntax, including all constraints applied at the time of creation. On the other hand, &lt;CODE&gt;DESCRIBE TABLE&lt;/CODE&gt; might not accurately capture or display all constraints, particularly if there have been subsequent modifications or if there are limitations in how it retrieves and presents constraint information.&lt;/P&gt;
&lt;P class="_1t7bu9h1 paragraph"&gt;For the most reliable and detailed information about table constraints, including NULL constraints, it is recommended to use the &lt;CODE&gt;SHOW CREATE TABLE&lt;/CODE&gt; command&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 00:25:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/describe-table-and-show-creat-table-shows-contradictory-null/m-p/102438#M8954</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2024-12-18T00:25:43Z</dc:date>
    </item>
  </channel>
</rss>

