<?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: Am not able to drop any table from Microsoft SQL Analytics End point - in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4654168#M8615</link>
    <description>&lt;P&gt;Thanks Srisakthi for the reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I'm the admin here, but I'm still unable to drop the table.&lt;/P&gt;&lt;P class=""&gt;Also, I’ve noticed that a few tables are visible from the &lt;STRONG&gt;SQL Analytics endpoint&lt;/STRONG&gt;, but not from the &lt;STRONG&gt;Lakehouse&lt;/STRONG&gt;. I'm not sure why that’s happening.&lt;/P&gt;&lt;P class=""&gt;We dropped a few tables using PySpark code from the Lakehouse. However, I can still see them in the SQL Analytics endpoint, and querying them throws an error.&lt;/P&gt;&lt;P class=""&gt;Does this mean the actual data was dropped, but the metadata still exists? I'm a bit confused and would appreciate some clarification.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Apr 2025 14:35:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-04-15T14:35:39Z</dc:date>
    <item>
      <title>Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4652710#M8587</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Friends,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;am trying to drop the tables from SQL analytics end point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting the below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The external policy action 'Microsoft.Sql/Sqlservers/Databases/Schemas/Tables/Drop' was denied on the requested resource.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;just wanted to check if any experienced this and fixed it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please share some inputs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ramana&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 03:26:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4652710#M8587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-15T03:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4652888#M8588</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using your own personal workspace?&lt;/P&gt;&lt;P&gt;1. If you are using workspace assigned by someone reach out to them for access, they might have applied restrictions.&lt;/P&gt;&lt;P&gt;2. If you are shared with particular Lakehouse/warehouse , they might have applied restrictions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So reach out to the person who has give access.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srisakthi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 05:32:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4652888#M8588</guid>
      <dc:creator>Srisakthi</dc:creator>
      <dc:date>2025-04-15T05:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4652892#M8589</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Ramanareddyp,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;You're getting this error because &lt;STRONG&gt;dropping tables is not allowed&lt;/STRONG&gt; due to &lt;STRONG&gt;permissions or policy restrictions&lt;/STRONG&gt;.&lt;/P&gt;&lt;P class=""&gt;If you're using &lt;STRONG&gt;Microsoft Fabric (Lakehouse)&lt;/STRONG&gt;, the &lt;STRONG&gt;SQL Analytics Endpoint is read-only&lt;/STRONG&gt; for DDL (like DROP TABLE). You can’t drop tables from there—use &lt;STRONG&gt;Lakehouse Explorer&lt;/STRONG&gt; or a &lt;STRONG&gt;notebook with PySpark&lt;/STRONG&gt;:&lt;BR /&gt;&lt;BR /&gt;spark.sql("DROP TABLE IF EXISTS your_table_name")&lt;BR /&gt;&lt;BR /&gt;Accept as SOLUTION it if it works out for you, so others can benefit too.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 05:35:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4652892#M8589</guid>
      <dc:creator>46</dc:creator>
      <dc:date>2025-04-15T05:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4653414#M8596</link>
      <description>&lt;P&gt;HI Anonymous&lt;/LI-USER&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thankyou &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1228304" data-lia-user-login="46" class="lia-mention lia-mention-user"&gt;46&lt;/a&gt;&amp;nbsp;for the accurate and helpful response! You've clearly explained that DROP TABLE is not supported through the SQL Analytics Endpoint and pointed out the correct alternatives via Lakehouse or Notebooks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to add a few more helpful points for your idea:&lt;BR /&gt;These endpoints are primarily built for querying and reporting. Operations like SELECT, JOIN, and AGGREGATIONS work fine, but DDL operations (e.g., DROP, CREATE, ALTER TABLE) are not supported from this layer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tables exposed in the endpoint are stored in the Lakehouse as Delta Lake tables (in OneLake).&lt;BR /&gt;So, any structural changes must be performed at the Lakehouse level, either through the Lakehouse UI (Explorer) or using PySpark in a Fabric Notebook:&lt;BR /&gt;spark.sql("DROP TABLE IF EXISTS your_table_name")&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Please Accept as solution if this meets your needs and a Kudos would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 09:44:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4653414#M8596</guid>
      <dc:creator>v-sgandrathi</dc:creator>
      <dc:date>2025-04-15T09:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4654157#M8614</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I'm the admin here, but I'm still unable to drop the table.&lt;/P&gt;&lt;P class=""&gt;Also, I’ve noticed that a few tables are visible from the &lt;STRONG&gt;SQL Analytics endpoint&lt;/STRONG&gt;, but not from the &lt;STRONG&gt;Lakehouse&lt;/STRONG&gt;. I'm not sure why that’s happening.&lt;/P&gt;&lt;P class=""&gt;We dropped a few tables using PySpark code from the Lakehouse. However, I can still see them in the SQL Analytics endpoint, and querying them throws an error.&lt;/P&gt;&lt;P class=""&gt;Does this mean the actual data was dropped, but the metadata still exists? I'm a bit confused and would appreciate some clarification.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 14:34:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4654157#M8614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-15T14:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4654168#M8615</link>
      <description>&lt;P&gt;Thanks Srisakthi for the reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I'm the admin here, but I'm still unable to drop the table.&lt;/P&gt;&lt;P class=""&gt;Also, I’ve noticed that a few tables are visible from the &lt;STRONG&gt;SQL Analytics endpoint&lt;/STRONG&gt;, but not from the &lt;STRONG&gt;Lakehouse&lt;/STRONG&gt;. I'm not sure why that’s happening.&lt;/P&gt;&lt;P class=""&gt;We dropped a few tables using PySpark code from the Lakehouse. However, I can still see them in the SQL Analytics endpoint, and querying them throws an error.&lt;/P&gt;&lt;P class=""&gt;Does this mean the actual data was dropped, but the metadata still exists? I'm a bit confused and would appreciate some clarification.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 14:35:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4654168#M8615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-04-15T14:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4654180#M8616</link>
      <description>&lt;P&gt;DROP TABLE IF EXISTS catalog_name.schema_name.table_name;&lt;BR /&gt;Can be used for both external tables and managed tables. but external tables meta data is stored in files.&lt;BR /&gt;&lt;BR /&gt;And the error denied request is based on the lacking of permission to drop the table. ensure that you have the persmission or has assigned role has permission to drop the table.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Apr 2025 14:43:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4654180#M8616</guid>
      <dc:creator>Hakesh</dc:creator>
      <dc:date>2025-04-15T14:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4658920#M8702</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I wanted to check in your situation regarding the issue. Have you resolved it? If you have, please consider marking the reply as &lt;STRONG&gt;Accepted solution&lt;/STRONG&gt;&amp;nbsp;and give &lt;STRONG&gt;Kudos&lt;/STRONG&gt; that helped you. It would be greatly appreciated by others in the community who may have the same question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Apr 2025 14:09:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4658920#M8702</guid>
      <dc:creator>v-sgandrathi</dc:creator>
      <dc:date>2025-04-18T14:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: Am not able to drop any table from Microsoft SQL Analytics End point -</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4675545#M8991</link>
      <description>&lt;P&gt;Hi Srisakthi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not have any Warehouse. am working with only Lakehouse. only few are Using this Lakehouse. there are no anybody to control or restrict here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;</description>
      <pubDate>Thu, 01 May 2025 07:54:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Am-not-able-to-drop-any-table-from-Microsoft-SQL-Analytics-End/m-p/4675545#M8991</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-01T07:54:20Z</dc:date>
    </item>
  </channel>
</rss>

