<?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: Unable to delete schema with no tables in Administration &amp; Architecture</title>
    <link>https://community.databricks.com/t5/administration-architecture/unable-to-delete-schema-with-no-tables/m-p/166546#M5547</link>
    <description>&lt;P&gt;As suggested by&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/231077"&gt;@ShamenParis&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;1 - DROP SCHEMA catalog_name.schema_name CASCADE;&lt;BR /&gt;2 -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;resource "databricks_schema" "this" {
  catalog_name  = databricks_catalog.this.name
  name          = "example"
  force_destroy = true
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2026 02:42:01 GMT</pubDate>
    <dc:creator>pradeep_singh</dc:creator>
    <dc:date>2026-08-27T02:42:01Z</dc:date>
    <item>
      <title>Unable to delete schema with no tables</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-delete-schema-with-no-tables/m-p/166537#M5545</link>
      <description>&lt;P&gt;I create Azure Databricks workspaces using Terraform. As a part of workspace creation I create the catalog and a schema in the catalog but not the tables. After this I follow below steps:&lt;/P&gt;&lt;P&gt;1. Create managed tables in the schema using Databricks workspace UI&lt;/P&gt;&lt;P&gt;2. Delete all managed tables in the schema using Databricks worksapce UI&lt;/P&gt;&lt;P&gt;3. Now deleting the schema using terraform or using Databricks UI is giving error that schema has managed table(s) and hence schema cannot be deleted. I need to know why?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2026 19:30:06 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-delete-schema-with-no-tables/m-p/166537#M5545</guid>
      <dc:creator>sapatel10</dc:creator>
      <dc:date>2026-08-26T19:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to delete schema with no tables</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-delete-schema-with-no-tables/m-p/166541#M5546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/227171"&gt;@sapatel10&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a few potential factors to consider regarding this issue. If Terraform authenticates using a Service Principal (SPN), the SPN is assigned as the owner of the schema. Furthermore, any hidden tables within the schema will not be visible to you unless you hold MANAGE permissions.&lt;/P&gt;&lt;P&gt;To completely remove the schema and its contents, you can execute the following SQL command using the CASCADE clause&lt;/P&gt;&lt;LI-CODE lang="python"&gt;DROP SCHEMA &amp;lt;catalog&amp;gt;.&amp;lt;schema&amp;gt; CASCADE;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2026 21:22:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-delete-schema-with-no-tables/m-p/166541#M5546</guid>
      <dc:creator>ShamenParis</dc:creator>
      <dc:date>2026-08-26T21:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to delete schema with no tables</title>
      <link>https://community.databricks.com/t5/administration-architecture/unable-to-delete-schema-with-no-tables/m-p/166546#M5547</link>
      <description>&lt;P&gt;As suggested by&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/231077"&gt;@ShamenParis&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;1 - DROP SCHEMA catalog_name.schema_name CASCADE;&lt;BR /&gt;2 -&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;resource "databricks_schema" "this" {
  catalog_name  = databricks_catalog.this.name
  name          = "example"
  force_destroy = true
}&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2026 02:42:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/administration-architecture/unable-to-delete-schema-with-no-tables/m-p/166546#M5547</guid>
      <dc:creator>pradeep_singh</dc:creator>
      <dc:date>2026-08-27T02:42:01Z</dc:date>
    </item>
  </channel>
</rss>

