<?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 Constraint options usage in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/constraint-options-usage/m-p/55107#M1963</link>
    <description>&lt;P&gt;I am trying to use the &lt;A href="https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-table-constraint.html" target="_self"&gt;constraints options:&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NOT ENFORCED&lt;/LI&gt;&lt;LI&gt;DEFERRABLE&lt;/LI&gt;&lt;LI&gt;INITIALLY DEFERRED&lt;/LI&gt;&lt;LI&gt;NORELY&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However it seems I am not able to use them successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use them with PRIMARY KEYS (not sure if it is possible), I am not able to enforce any key.&lt;/P&gt;&lt;P&gt;And it also seems I cannot use them with other constraints:&lt;/P&gt;&lt;P&gt;How are we supposed to use this constraint option? Thank you&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 12 Dec 2023 05:39:32 GMT</pubDate>
    <dc:creator>Xyrion</dc:creator>
    <dc:date>2023-12-12T05:39:32Z</dc:date>
    <item>
      <title>Constraint options usage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/constraint-options-usage/m-p/55107#M1963</link>
      <description>&lt;P&gt;I am trying to use the &lt;A href="https://docs.databricks.com/en/sql/language-manual/sql-ref-syntax-ddl-create-table-constraint.html" target="_self"&gt;constraints options:&lt;/A&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NOT ENFORCED&lt;/LI&gt;&lt;LI&gt;DEFERRABLE&lt;/LI&gt;&lt;LI&gt;INITIALLY DEFERRED&lt;/LI&gt;&lt;LI&gt;NORELY&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;However it seems I am not able to use them successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to use them with PRIMARY KEYS (not sure if it is possible), I am not able to enforce any key.&lt;/P&gt;&lt;P&gt;And it also seems I cannot use them with other constraints:&lt;/P&gt;&lt;P&gt;How are we supposed to use this constraint option? Thank you&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Dec 2023 05:39:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/constraint-options-usage/m-p/55107#M1963</guid>
      <dc:creator>Xyrion</dc:creator>
      <dc:date>2023-12-12T05:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Constraint options usage</title>
      <link>https://community.databricks.com/t5/get-started-discussions/constraint-options-usage/m-p/55110#M1964</link>
      <description>&lt;P&gt;BTW the forum is bugged I can't paste code..&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 05:40:29 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/constraint-options-usage/m-p/55110#M1964</guid>
      <dc:creator>Xyrion</dc:creator>
      <dc:date>2023-12-12T05:40:29Z</dc:date>
    </item>
  </channel>
</rss>

